Demo repo to test behaviour of bearer auth scopes/roles during ASP Net Core server code generation.
OpenAPITools/openapi-generator#1983
npm install
npm run build
PetsApi.cs
routes are annotated with [Authorize]
with no roles defined
PetsApi.cs
routes to be annotated with [Authorize(Roles="User","Admin")]