Open menesty opened 1 year ago
@menesty Fixed it here: https://github.com/micronaut-projects/micronaut-openapi/pull/1733
Just use official micronaut generator for java and kotlin by micronaut-opeanpi gradle or maven plugin from this repo: https://github.com/micronaut-projects/micronaut-openapi
Look to this guide: https://guides.micronaut.io/latest/micronaut-openapi-generator-server.html
Also, please describe problems and suggestions here: https://github.com/micronaut-projects/micronaut-openapi/issues
Description
Have configures security for endpoint but code always generate with annotation @Secured({SecurityRule.IS_AUTHENTICATED})
expected with annotation @Secured({"client")
Micronaut version 4.1.0
openapi-generator version
7.0.0
OpenAPI declaration file content or url
openapi: 3.0.0 info: title: Client Service API description: Business response for management companies, places, menus API. contact: name: test url: test email: test version: 1.0.0 security: