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

Add response headers #82

Closed
Yavari opened this issue Feb 12, 2021 · 0 comments
Closed

Add response headers #82

Yavari opened this issue Feb 12, 2021 · 0 comments

Comments

@Yavari
Copy link

Yavari commented Feb 12, 2021

Would it be possible to show the response header in the same way as request headers are shown. One example from my generated json is:

        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "checksum": {
                "description": "Validate package",
                "schema": {
                  "type": "String"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePackageResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "400": {
            "description": "Bad Request"
          }
        }
@Yavari Yavari closed this as completed Jan 29, 2023
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

1 participant