Skip to content

Commit 753057e

Browse files
committed
sq
1 parent 579e5b7 commit 753057e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oapi_validate_example_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ paths:
906906

907907
router := http.NewServeMux()
908908

909+
// This should be treated as if it's being called with POST /resource
909910
router.HandleFunc("/public-api/v1/resource", func(w http.ResponseWriter, r *http.Request) {
910911
fmt.Printf("%s /public-api/v1/resource was called\n", r.Method)
911912

0 commit comments

Comments
 (0)