Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: match route with empty path parameters for api with child resource #178

Merged
merged 6 commits into from
Feb 28, 2022

Commits on Feb 28, 2022

  1. 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
    nicolaemarin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    7bafd9d View commit details
    Browse the repository at this point in the history
  2. Update middleware-test.js

    Add test for case when path parameter is empty string
    nicolaemarin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    130c191 View commit details
    Browse the repository at this point in the history
  3. Update middleware-test.js

    remove express test case
    nicolaemarin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    5408a6e View commit details
    Browse the repository at this point in the history
  4. Update pet-store-swagger.yaml

    define swagger path for child resource
    nicolaemarin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    1db7eec View commit details
    Browse the repository at this point in the history
  5. Update fastify-test.js

    add tests for api with child resource and empty path parameter
    nicolaemarin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    7e8f243 View commit details
    Browse the repository at this point in the history
  6. lint fix

    Nicolae Marin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    109d5e6 View commit details
    Browse the repository at this point in the history