openapi-viewer
openapi-viewer copied to clipboard
openapi-viewer does not show response headers
Hi there. This openapi-viewer does not show headers when response provide it. This is the example:
PostTransactionsSuccess:
description: Success add advertising transaction
headers:
Location:
schema:
type: string
description: Link to open created object
example: /transactions/1
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/SuccessResponse'
- $ref: '#/components/schemas/MessageAsPayload'
example:
code: 200
payload: success add transaction
Thank you.
This is a feature lacking in our component vue-openapi. We will try to implement it ASAP.
Hi have added some basic support for this.