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
{{ message }}
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.
I have implemented common prefixes for easier configuration of spring REST controllers (for controllers marked with custom annotation) via Spring WebMvcConfigurer. However in this way generateSwaggerDocumentation produces:
/my-endpoint
instead of
/my/common/api/my-endpoint
I also put the common content type in the common configuration logic and swagger docs are missing prefix now.
So far I have tried to setup prefix in swagger block but it doesn't work (complains about empty title). Might be related to fact that I use swagger via in-house plugin and configuration is probably inherited from there.
I have implemented common prefixes for easier configuration of spring REST controllers (for controllers marked with custom annotation) via Spring
WebMvcConfigurer
. However in this way generateSwaggerDocumentation produces:instead of
I also put the common content type in the common configuration logic and swagger docs are missing prefix now.
So far I have tried to setup prefix in swagger block but it doesn't work (complains about empty title). Might be related to fact that I use swagger via in-house plugin and configuration is probably inherited from there.
Moreover - due to these differences swagger demands re-generating docs (compard to the docs before I extracted the common prefixes to common place).
Is there a way to configure swagger so that it may handle such case graefully?
The text was updated successfully, but these errors were encountered: