zyro23 commented on PR #16275: URL: https://github.com/apache/grails-core/pull/16275#issuecomment-5488640388
> > looks promising! will it be possible to customize paths/schemas by annotating actions/domain classes/command objects/response objects with swagger annotations? > > Thanks @zyro23 - please take a look at the updates in the description. LMK if there is anything else you think might be beneficial. in fact, i think there is. but first: hats off for the changes. awesome. springdoc allows defining [`GroupedOpenApi`](https://github.com/springdoc/springdoc-openapi/blob/v3.1.0/springdoc-openapi-starter-common/src/main/java/org/springdoc/core/models/GroupedOpenApi.java) beans to define one or multiple "grouped" openapi definitions (e.g. for separate apis): https://springdoc.org/#how-can-i-define-multiple-openapi-definitions-in-one-spring-boot-project `GroupedOpenApi` (or rather `GroupedOpenApi.Builder`) supports filtering (at least for spring(-mvc) apps) by: * `pathsToMatch` * `packagesToScan` * `packagesToExclude` * `pathsToExclude` * `producesToMatch` * `headersToMatch` * `consumesToMatch` * `methodFilters` to what extend is/could that be supported by the grails impl.? thanks & regards. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
