Skip to content

Commit

Permalink
style: openapi3edit: use explicit path call within `SpecEdit.Extens…
Browse files Browse the repository at this point in the history
…ionSet()`
  • Loading branch information
grokify committed Dec 2, 2022
1 parent 5d7c8c2 commit 817ad0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi3edit/spec_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type SpecEdit struct {
}

func (se *SpecEdit) ExtensionSet(key string, val any) {
se.SpecMore.Spec.Extensions[key] = val
se.SpecMore.Spec.ExtensionProps.Extensions[key] = val
}

func (se *SpecEdit) SpecSet(spec *openapi3.Spec) {
Expand Down

0 comments on commit 817ad0f

Please sign in to comment.