-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: match route with empty path parameters for api with child resour…
…ce (#178) * Update schemaEndpointResolver.js Check only if the key exists in path attributes when matching the route without exactMatch for cases when path parameter is empty * Update middleware-test.js Add test for case when path parameter is empty string * Update middleware-test.js remove express test case * Update pet-store-swagger.yaml define swagger path for child resource * Update fastify-test.js add tests for api with child resource and empty path parameter * lint fix Co-authored-by: Nicolae Marin <[email protected]>
- Loading branch information
1 parent
afb861b
commit f3ae591
Showing
3 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters