Hi,
I have several static REST resources implemented with Jersey 2.23.x. Their implementation classes are annotated with Swagger @Api annotations and they're proprly exposed in swagger.json. I also have a number of dynamically generated REST resources created via Jersey Resource.Builder API. How can I register them with Swagger?
I'm implementing ReaderListener interface and want to register my dynamic REST resources in its afterScan method via swagger.addDefinition() API. Is it the right way to go? If yes, how can I build Model to register it with Swagger properly?
Thanks, Denis.