Release 6.0.0 #719
SteveDunn
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This contains a small breaking change to the namespaces used when generating Swashbuckle mapping and System.Text.Json converter factories.
You might have to change the names of STJ factories and Swashbuckle mappers. This is as a result of this bug:
Please see the comment on the PR for #717 here: https://github.com/SteveDunn/Vogen/pull/718/files#r1865263127
Previously, if the project named contained dots, then these would be stripped out, but now they're replaced with
_
. The bug was that namespaces derived the project name failed when the project name contained hyphens.Now, all characters that are legal in a project name but illegal in a namespace, are replaced with
_
The other option is to use the global namespace for these, and suffix the name with the project, e.g.
WebApplication_Shared.VogenTypesFactory
becomesVogenTypesFactoryForWebApplication_Shared
Beta Was this translation helpful? Give feedback.
All reactions