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

OpenAPI generation appends "/openapi.json" even if the parent path has a forward slash #390

Open
jsoverson opened this issue Aug 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jsoverson
Copy link
Contributor

Describe the bug
As the title states. This makes serving the openapi.json from the root (/) problematic because the path matcher won't match ("//openapi.json").

To Reproduce
Run HTTP_PORT=8080 wick run examples/http/rest-router.wick and navigate to "127.0.0.1:8080/openapi-ui"

Expected behavior
The openapi works

Actual behavior
The openapi UI can't find //openapi.json

Environment:

@jsoverson jsoverson added bug Something isn't working triage To be triaged labels Aug 1, 2023
@jsoverson jsoverson removed the triage To be triaged label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant