File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tools/cli/internal/openapi/filter Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,10 @@ func (f *ExtensionFilter) Apply() error {
9898 }
9999 }
100100 if f .oas .Tags != nil {
101- updateExtensionsForTags (f .oas .Tags )
101+ updateExtensionsForTags (& f .oas .Tags )
102102 }
103103 if f .oas .Components != nil {
104- updateExtensionsForComponents (* f .oas .Components )
104+ updateExtensionsForComponents (f .oas .Components )
105105 }
106106 return nil
107107}
@@ -123,7 +123,7 @@ func updateExtensionToDateString(extensions map[string]any) {
123123 }
124124}
125125
126- func updateExtensionsForComponents (components openapi3.Components ) {
126+ func updateExtensionsForComponents (components * openapi3.Components ) {
127127 for _ , schema := range components .Schemas {
128128 if schema != nil {
129129 deleteIpaExceptionExtension (schema .Extensions )
@@ -174,8 +174,8 @@ func updateExtensionsForComponents(components openapi3.Components) {
174174 }
175175}
176176
177- func updateExtensionsForTags (tags openapi3.Tags ) {
178- for _ , tag := range tags {
177+ func updateExtensionsForTags (tags * openapi3.Tags ) {
178+ for _ , tag := range * tags {
179179 if tag != nil {
180180 deleteIpaExceptionExtension (tag .Extensions )
181181 }
You can’t perform that action at this time.
0 commit comments