-
Notifications
You must be signed in to change notification settings - Fork 761
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 to response model #277
Comments
you can get sample response headers from the petstore api now: |
I think he means the response object from |
@mohsen1 Can you tell me which fields you use in the response object? I see some duplication in what is there now and would like to know what you're using. |
I thought i replied to this. There is a response header definition in the spec, which should be part of the "model" returned by each operation. That's different from what response headers actually come back from the server. |
I was wrong. I misunderstood. |
After being in the |
This should be fixed. |
The fix for this does not support references. References are broken in most of swagger-js and will be addressed together. |
Swagger UI needs response headers in response object model under
headers
property.Related: swagger-api/swagger-ui#1000
The text was updated successfully, but these errors were encountered: