springdoc / springdoc-openapi-maven-plugin

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
143 stars 37 forks source link

Will the plugin generate multiple files if GroupedOpenAPI is used? #64

Open lfvjimisola opened 1 year ago

lfvjimisola commented 1 year ago

Will the plugin generate multiple files if GroupedOpenAPI is used?

It does not look like it in the source code: here or here

And if so, how are the filenames generated? openapi-.<json|yaml>

cristian-daramus commented 11 months ago

Hey, I also needed the plugin to generate multiple files for each GroupedOpenApi so what I did using maven was something like this:

Hope it helps

lfvjimisola commented 11 months ago

Thanks, but we need a solution that is dynamic (in terms of number of APIs) rather than hardcoded.

codespearhead commented 6 months ago

Possible duplicate of https://github.com/springdoc/springdoc-openapi/issues/2539