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
feczkob
changed the title
[REQ] [kotlin-server] commonPath in @Path annotation
[REQ] [kotlin-server] commonPath in @Path annotation - useTags
Dec 18, 2024
Is your feature request related to a problem? Please describe.
I try to use the
kotlin-server
generator to generate my interfaces. Currently the Jakarta@Path
has a hardcoded"/"
argument, see https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/kotlin-server/libraries/jaxrs-spec/api.mustache#L21.Describe the solution you'd like
I think it would be better if the longest common path would be passed to the
@Path
annotation, making use oftags
for example, like here: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/api.mustache#L99The text was updated successfully, but these errors were encountered: