Skip to content

Commit

Permalink
Insert produces field (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilteoood authored Dec 12, 2021
1 parent ceb64e7 commit 2c128ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
.idea

/openapi3/load_with_go_embed_test.go
.vscode
1 change: 1 addition & 0 deletions openapi2/openapi2.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type T struct {
ExternalDocs *openapi3.ExternalDocs `json:"externalDocs,omitempty" yaml:"externalDocs,omitempty"`
Schemes []string `json:"schemes,omitempty" yaml:"schemes,omitempty"`
Consumes []string `json:"consumes,omitempty" yaml:"consumes,omitempty"`
Produces []string `json:"produces,omitempty" yaml:"produces,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
BasePath string `json:"basePath,omitempty" yaml:"basePath,omitempty"`
Paths map[string]*PathItem `json:"paths,omitempty" yaml:"paths,omitempty"`
Expand Down

0 comments on commit 2c128ab

Please sign in to comment.