openapi: 3.2.0 info: title: MolTrust Search API version: '2.5' tags: - name: Search paths: /api/search: get: summary: Site Search description: Public site-wide search over all HTML pages. operationId: site_search_api_search_get parameters: - name: q in: query required: false schema: type: string minLength: 2 maxLength: 80 default: '' title: Q responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Search components: schemas: ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError