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
Request body in applicaiton/xml is formatted as JSON in samples/request. Is this a bug or xml is not (and will not) be supported ?
openapi: 3.0.1 info: title: Super API paths: /api/post: post: summary: Submit somthing operationId: writtenItem requestBody: description: request content: application/xml: schema: $ref: '#/components/schemas/Deposit' required: true responses: "200": description: Returns an `OK` response on success content: application/xml: schema: $ref: '#/components/schemas/Deposit' "400": description: Returns an `NOK` response on failure content: application/xml: schema: $ref: '#/components/schemas/Deposit' components: schemas: Deposit: required: - itle - lang - text type: object properties: Title: type: string description: "The title" example: Super Title lang: type: string description: "ISO ISO 639 alpha-2 code" example: de text: minLength: 1 type: string description: The text description: A request for submission
Request in XML ex.
<deposit> <title>Super Title</title> <lang>de</lang> <text>string</text> </deposit>
Screenshots
The text was updated successfully, but these errors were encountered:
Any movement on this?
Sorry, something went wrong.
I would also appreciate this!
Any likelihood this will be built out anytime soon?
No branches or pull requests
Describe the bug
Request body in applicaiton/xml is formatted as JSON in samples/request.
Is this a bug or xml is not (and will not) be supported ?
To Reproduce
Expected behavior
Request in XML ex.
Screenshots
The text was updated successfully, but these errors were encountered: