/**
 * @openapi
 *  components:
 *      schemas:
 *          SearchQuestionsBody:
 *              type: object
 *              properties:
 *                  categories:
 *                      description: The categories to search for
 *                      type: array
 *                      items:
 *                          $ref: '#/components/schemas/Category'
 *                  order:
 *                      description: The order to sort the questions by, new questions are those that have been submitted most recently.
 *                      type: string
 *                      enum:
 *                          - new
 *                          - old
 *                  pageNumber:
 *                      description: The page number to return
 *                      type: number
 *                  perPage:
 *                      description: The number of questions to return per page
 *                      type: number
 *                  freetext:
 *                      description: Freetext value to search for withing question text
 *                      type: string
 *                  mode:
 *                      description: Search mode. Defaults to text.
 *                      type: string
 *                      enum:
 *                          - text
 *                          - semantic
 *                  query:
 *                      description: Query used by the selected search mode.
 *                      type: string
 *                  ids:
 *                      description: The ids of the questions to search for
 *                      type: array
 *                      items:
 *                          type: string
 *                  tags:
 *                      description: The tags to search for
 *                      type: array
 *                      items:
 *                          type: string
 *                  difficulties:
 *                      description: The difficulty to search for
 *                      type: array
 *                      items:
 *                          type: string
 *                          enum:
 *                              - easy
 *                              - medium
 *                              - hard
 *                  types:
 *                      description: The types to search for
 *                      type: array
 *                      items:
 *                          type: string
 *                  region:
 *                      description: The region to search for
 *                      type: string
 */
