Skip to content

Commit

Permalink
openapi2: add missing schemes field of operation object (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp authored Mar 30, 2022
1 parent cd4e291 commit 4053935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openapi2/openapi2.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ type Operation struct {
Responses map[string]*Response `json:"responses" yaml:"responses"`
Consumes []string `json:"consumes,omitempty" yaml:"consumes,omitempty"`
Produces []string `json:"produces,omitempty" yaml:"produces,omitempty"`
Schemes []string `json:"schemes,omitempty" yaml:"schemes,omitempty"`
Security *SecurityRequirements `json:"security,omitempty" yaml:"security,omitempty"`
}

Expand Down

0 comments on commit 4053935

Please sign in to comment.