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
Ref in @OA\Header #570
Comments
Fixed, Thanks for reporting the issue. Ps:
|
@jpuck that is by design, this way you the propertyname in the components.headers object doesn't have to match the propertyname in the response |
Doqnach
pushed a commit
to Doqnach/swagger-php
that referenced
this issue
Aug 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like it should be possible, inside a Response, to have a Header that's just a reference to a definition in the Components. Here's an example in the generated yaml: OAI/OpenAPI-Specification#1445 (comment)
I would have expected something like this to work:
but I get the errors
Unexpected field "ref"
and@OA\Header() is missing key-field: "header"
The text was updated successfully, but these errors were encountered: