We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d315d71 commit 6f2d174Copy full SHA for 6f2d174
1 file changed
openapi3/response.go
@@ -34,7 +34,7 @@ func (responses Responses) Validate(c context.Context) error {
34
// Response is specified by OpenAPI/Swagger 3.0 standard.
35
type Response struct {
36
ExtensionProps
37
- Description string `json:"description,omitempty" yaml:"description,omitempty"`
+ Description string `json:"description" yaml:"description"`
38
Headers map[string]*HeaderRef `json:"headers,omitempty" yaml:"headers,omitempty"`
39
Content Content `json:"content,omitempty" yaml:"content,omitempty"`
40
Links map[string]*LinkRef `json:"links,omitempty" yaml:"links,omitempty"`
0 commit comments