swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

Add the ability to not include all resources

Open bass3l opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Not related to a problem, but using swagger-core (and its related deps) that generates the output at runtime, you can specify the following config entry:

<param-name>openApi.configuration.readAllResources</param-name>
<param-value>false</param-value>

Which will result in only including the classes/ops that where annotated by an annotation from io.swagger.v3.oas.annotations namespace.

I'll try to create a pull request for it if considered. I think JaxRSScanner the one that should get the changes?

bass3l avatar Jun 16 '21 08:06 bass3l