Hello everyone,

What we have are two sets of endpoints for two separate audiences (say X 
and Y) and these are all supported via the same Java runtime. What we would 
like to do is when our X audience wishes to see documentation about the X 
endpoints, just the X endpoint documentation is shown, the Y endpoint 
documentation does not appear. Same for the Y audience in that we don't 
want to show them the documentation for the X endpoints. What I have tried 
is to have two separate Swagger initializer classes, and have them scan the 
X or Y resources, but the last set of resources scanned (e.g. Y) are the 
only ones that appear in the Swagger UI.

We are using Java 8 with Jersey 2.23.2 as our JAX-RS implementation with 
Swagger Jersey2 JAXRS version 1.5.0.

Does anyone know how I can accomplish what I am trying to do with our 
current JAX-RS/Jersey/Swagger versions or with a newer version?

Thank you,

Doug

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to