Skip to content

Commit 65d39c9

Browse files
CLOUDP-325047: add support for extension in the main element of the OAS (#773)
1 parent f9e3f62 commit 65d39c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cli/internal/openapi/openapi.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ type Spec struct {
3434
Paths *openapi3.Paths `json:"paths" yaml:"paths"`
3535
Components *openapi3.Components `json:"components,omitempty" yaml:"components,omitempty"`
3636
ExternalDocs *openapi3.ExternalDocs `json:"externalDocs,omitempty" yaml:"externalDocs,omitempty"`
37+
Extensions map[string]any `json:"-" yaml:"-"`
3738
}
3839
type Parser interface {
3940
CreateOpenAPISpecFromPath(string) (*load.SpecInfo, error)

0 commit comments

Comments
 (0)