We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the Result is empty and HTTP Response is StatusOK, OpenAPI responses section gets declared even though SkipResponseBodyEncodeDecode is false.
package design import ( . "goa.design/goa/v3/dsl" ) var _ = Service("testService", func() { Method("empty", func() { Result(Empty) // empty HTTP(func() { POST("/empty") Response(StatusOK) // OK not NoContent }) }) })
openapi: 3.0.3 info: title: Goa API version: "1.0" servers: - url: http://localhost:80 description: Default server for testService paths: /empty: post: tags: - testService summary: empty testService operationId: testService#empty responses: "200": description: OK response. content: application/json: schema: type: string format: binary components: {} tags: - name: testService
part of responses:
responses
responses: "200": description: OK response.
The text was updated successfully, but these errors were encountered:
Good catch, thank you for the PR!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When the Result is empty and HTTP Response is StatusOK, OpenAPI responses section gets declared even though SkipResponseBodyEncodeDecode is false.
design
got
expect
part of
responses
:The text was updated successfully, but these errors were encountered: