openapi: 3.0.3 info: title: null description: '' version: 3.9.9 servers: - url: 'http://localhost' paths: /api/withDescription: get: summary: 'Example title.' description: "This will be the long description.\nIt can also be multiple lines long." parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: { } tags: - 'Group A' security: [] /api/withResponseTag: get: summary: '' description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: 200: description: '200' content: application/json: schema: type: object example: id: 4 name: banana color: red weight: '1 kg' delicious: true responseTag: true properties: id: { type: integer, example: 4 } name: { type: string, example: banana } color: { type: string, example: red } weight: { type: string, example: '1 kg' } delicious: { type: boolean, example: true } responseTag: { type: boolean, example: true } tags: - 'Group A' security: [] /api/withQueryParameters: get: summary: '' description: '' parameters: - in: query name: location_id description: 'The id of the location.' example: consequatur required: true schema: type: string - in: query name: user_id description: 'The id of the user.' example: me required: true schema: type: string - in: query name: page description: 'The page number.' example: '4' required: true schema: type: string - in: query name: 'filters.*' description: 'The filters.' example: consequatur required: false schema: type: string - in: query name: url_encoded description: 'Used for testing that URL parameters will be URL-encoded where needed.' example: '+ []&=' required: false schema: type: string - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: { } tags: - 'Group A' security: []