Commit fbaa4d12 authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #2898 from skOak/swagger

remove omitempty for swagger.Response.Description, because it's Required according to Swagger2.0 Spec
parents 7dc89911 0ce70b8c
......@@ -141,7 +141,7 @@ type Propertie struct {
// Response as they are returned from executing this operation.
type Response struct {
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Description string `json:"description" yaml:"description"`
Schema *Schema `json:"schema,omitempty" yaml:"schema,omitempty"`
Ref string `json:"$ref,omitempty" yaml:"$ref,omitempty"`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment