Skip to content

Commit abf9611

Browse files
committed
enhance: openapi3: update param name
1 parent afa1b32 commit abf9611

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openapi3/visit.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ func VisitTypesFormats(spec *oas3.Swagger, visitTypeFormat func(jsonPointerRoot,
6363
)
6464
}
6565

66-
func VisitOperationsPathItem(pathURL string, pathItem *oas3.PathItem, visitOp func(path, method string, op *oas3.Operation)) {
66+
func VisitOperationsPathItem(path string, pathItem *oas3.PathItem, visitOp func(path, method string, op *oas3.Operation)) {
67+
pathURL := path
6768
if pathItem == nil {
6869
return
6970
}

0 commit comments

Comments
 (0)