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

evaluate if we can support the path matching in handler.yml with or without trailing slash #2235

Open
stevehu opened this issue May 2, 2024 · 0 comments

Comments

@stevehu
Copy link
Contributor

stevehu commented May 2, 2024

ie:

 Handler.yml:

- path /foo/v1
  - com.networknt.FooHandler

API consumer requests /foo/v1/

As it is, this fails to match the path, and so we have had to populate our handler.yml with dual path specs for every API to allow consumers to call our APIs with or without trailing slashes.  This is a nuisance and it would be great if we could auto-match these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant