Skip to content

Commit

Permalink
enhance: openapi3: update param name
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jun 28, 2021
1 parent afa1b32 commit abf9611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openapi3/visit.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ func VisitTypesFormats(spec *oas3.Swagger, visitTypeFormat func(jsonPointerRoot,
)
}

func VisitOperationsPathItem(pathURL string, pathItem *oas3.PathItem, visitOp func(path, method string, op *oas3.Operation)) {
func VisitOperationsPathItem(path string, pathItem *oas3.PathItem, visitOp func(path, method string, op *oas3.Operation)) {
pathURL := path
if pathItem == nil {
return
}
Expand Down

0 comments on commit abf9611

Please sign in to comment.