Closed Ken1Nil closed 1 year ago
Yeah, agreed. This was a while ago, but I think that was meant to be a fallback to allow for lighter configs
Thanks for the callout. I'll try and get this in next release
Just realized i forgot this in the release yesterday. Pushing an update to nuget now.
Thanks again!
When scaffolding a project with ProjectName (for example: "MyCraftsmanManagement") containing PascalCase naming style, and not supplying a PolicyName in Template, SwaggerBuilder makes the Scope name "my_craftsman_management" with
ProjectName.Underscore()
.This ignores whatever is used in
Would be helpful if the Scopes for Swagger Auth Documentation would use the Audience: property instead of MyProjectName -> my_project_name
Steps to reproduce
Using this template you can generate the same:
Further technical details
Craftsman version (
dotnet tool list -g
): craftsman 0.21.1