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 7387385 commit 2d0e425Copy full SHA for 2d0e425
1 file changed
tools/openapi_spec_downgrader/main.go
@@ -53,7 +53,7 @@ func run(cmd *cobra.Command, args []string) {
53
log.Fatalln(err)
54
}
55
doc := map[string]any{}
56
- err = yaml.Unmarshal(contents, &doc)
+ _, err = yaml.Unmarshal(contents, &doc, yaml.DecodeOpts{})
57
if err != nil {
58
59
0 commit comments