Skip to content
New issue

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

openapi-viewer does not show response headers #14

Open
3mp3ri0r opened this issue Jul 31, 2018 · 2 comments
Open

openapi-viewer does not show response headers #14

3mp3ri0r opened this issue Jul 31, 2018 · 2 comments

Comments

@3mp3ri0r
Copy link

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.

@nicolas-bonnel
Copy link
Member

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

@nicolas-bonnel
Copy link
Member

Hi have added some basic support for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants