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

Automatically add missing / to routes #113

Closed
Mechite opened this issue Nov 30, 2022 · 0 comments
Closed

Automatically add missing / to routes #113

Mechite opened this issue Nov 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Mechite
Copy link

Mechite commented Nov 30, 2022

When you define an @OpenApi annotation anywhere and haven't added a preceeding "/" to a path (i.e. path = "test" vs path = "/test"), when trying to use ReDoc, small issues occur where ReDoc doesn't expect there not to be a preceeding slash and formats the documentation wrong. This is more of a ReDoc issue, but can't hurt to fix it with some processing.

image

@dzikoysk dzikoysk added the enhancement New feature or request label Nov 30, 2022
@dzikoysk dzikoysk changed the title [proposed enhancement] Path matching for OpenApi annotation Automatically add missing / to routes Nov 30, 2022
@dzikoysk dzikoysk moved this to 🆕 New in Javalin OpenApi Nov 30, 2022
@dzikoysk dzikoysk moved this from 🆕 New to 📋 Backlog in Javalin OpenApi Nov 30, 2022
@dzikoysk dzikoysk self-assigned this Dec 9, 2022
Repository owner moved this from 📋 Backlog to ✅ Done in Javalin OpenApi Dec 9, 2022
@dzikoysk dzikoysk added this to the 5.3.0 milestone Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants