Skip to content

Commit

Permalink
Fix swagger2 related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VirajSalaka committed May 17, 2024
1 parent aa68bcf commit d358723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/internal/oasparser/model/swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func setResourcesSwagger(swagger2 spec.Swagger) ([]*Resource, error) {
if found {
addResourceLevelDisableSecurity(&pathItem.Options.VendorExtensible, disableSecurity)
}
methodsArray = append(methodsArray, NewOperation("OPTION", pathItem.Options.Security,
methodsArray = append(methodsArray, NewOperation("OPTIONS", pathItem.Options.Security,
pathItem.Options.Extensions))
methodFound = true
}
Expand Down

0 comments on commit d358723

Please sign in to comment.