[REQ] Add Authorize and bearer roles/scopes support to aspnetcore
Created by: MBcom
Is your feature request related to a problem? Please describe.
- on generating the aspnetcore server package - (bearer) authentication are ignored and roles/scopes specfied for each operation are ignored too
- it would be time saving if the generator would generate the missing annotations
Describe the solution you'd like
- add an
[Authorize]
Annotation for each route - if there is an bearer auth (e.g. with JWT) or an OATUH authentication then annotate with
[Authorize(Roles = "...")]
Describe alternatives you've considered
Additional context
see the linked pull request for my suggestions