You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Swagger definition defines 2 paths of the form:
POST /myresource:validate POST /myresource:batchRetrieve
The requests to these two endpoints are routed to the incorrect handler.
This is because makeRecords in middleware/denco/router.go interprets the presence of any colon in the path as a path parameter, rather than a static path in this case.
The text was updated successfully, but these errors were encountered:
If a Swagger definition defines 2 paths of the form:
POST /myresource:validate
POST /myresource:batchRetrieve
The requests to these two endpoints are routed to the incorrect handler.
This is because
makeRecords
inmiddleware/denco/router.go
interprets the presence of any colon in the path as a path parameter, rather than a static path in this case.The text was updated successfully, but these errors were encountered: