You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@RequestMapping("/path1", "/path2")
@RestController
class OverviewController()
I expect the following OpenAPI file
paths:
/path1:
get: ...
/path2:
get: ...
Instead, it produces
paths:
/path1/path2:
get: ...
I don't think the output is the correct behaviour. Please let me know. If it is indeed incorrect, I can go ahead and fix it.
The text was updated successfully, but these errors were encountered:
geniegeist
changed the title
Bug: RequestMapping does not support multiple paths
Bug: small-rye-openapi implements @RequestMapping wrong. Multiple paths are not supported.
Dec 19, 2024
Thanks for the clarification. I'll try to implement this behaviour in the next couple of days if you don't mind. I'd like to contribute to this project.
geniegeist
changed the title
Bug: small-rye-openapi implements @RequestMapping wrong. Multiple paths are not supported.
smallrye-open-api implements @RequestMapping wrong. Multiple paths are not supported.
Dec 20, 2024
Description
Given
I expect the following OpenAPI file
Instead, it produces
I don't think the output is the correct behaviour. Please let me know. If it is indeed incorrect, I can go ahead and fix it.
The text was updated successfully, but these errors were encountered: