[REQ] JAXRS Generator Server with @RolesAllowed
Created by: iriikoad
Hi,
I tried different generator to generate JAXRS Rest interfaces, and I didnt found a way to get @RolesAllowed("**") on methods that are protected. I add RolesAllowed in security, I'd like to get @RolesAllowed in the code generated, but the annotation is not added.
Example:
/api/auth/current:
get:
tags:
- Auth Resource
operationId: AuthResource_getCurrentName
responses:
"200":
description: OK
content:
text/plain:
schema:
type: string
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- cookieAuth:
- '**'
- RolesAllowed:
- '**'