openapi-viewer icon indicating copy to clipboard operation
openapi-viewer copied to clipboard

openapi-viewer does not show response headers

Open 3mp3ri0r opened this issue 6 years ago • 2 comments

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.

3mp3ri0r avatar Jul 31 '18 08:07 3mp3ri0r

This is a feature lacking in our component vue-openapi. We will try to implement it ASAP.

nicolas-bonnel avatar Aug 07 '18 13:08 nicolas-bonnel

Hi have added some basic support for this.

nicolas-bonnel avatar Aug 22 '18 07:08 nicolas-bonnel