Hi,
We are planning to use swagger ui to document our REST apis.
One of the problems we are facing currently is that we have multiple versions of the API hosted in different folders/packages. For example /v1, /v2 and /internal which are not public facing. It is possible to host swagger in a fashion such that each swagger endpoint only documents endpoints under a certain folder.
For example
/v1/swagger -> Documents all REST endpoints under /v1
/internal/swagger -> Documents all REST endpoints under /internal.
The application is currently using swagger-jersey2-jaxrs_2.10 : 1.3.x
Any help in this regard would be appreciated.
Thanks,
Debojit
P.S : I was trying to use ReflectiveJaxrsScanner to choose the resource packages to scan but that keeps reporting all the REST endpoints in the project rather than the ones under the selected package.