We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I implement below using fastify-swagger where we have multiple requestBody contents?
openapi: 3.0.1 info: title: Test API description: API documentation version: 1.0.0 paths: /your-endpoint: post: summary: Endpoint to handle multiple content types tags: - test requestBody: required: true content: application/json: schema: type: object properties: key: type: string required: - key multipart/form-data: schema: type: object properties: file: type: string format: binary required: - file text/plain: schema: type: string responses: '200': description: Successful response content: application/hal+json: schema: type: object properties: message: type: string data: type: object additionalProperties: true '400': description: Bad request content: application/json: schema: type: object properties: message: type: string example: Unsupported content type
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How can I implement below using fastify-swagger where we have multiple requestBody contents?
The text was updated successfully, but these errors were encountered: