-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"openapi" field in generated yaml depends on OS culture settings #2602
Labels
Comments
It seems like this has been fixed in microsoft/OpenAPI.NET@a389eb6 Swashbuckle.AspNetCore.Swagger.csproj is using version "1.2.3" of "Microsoft.OpenApi", and the above fix was released in version "1.4.4" (latest is "1.6.0"). |
FYI this is fixed in DotSwashbuckle |
Tracked by #2606. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I generate OpenAPI yaml spec with Swashbuckle.AspNetCore.Cli the "openapi" field in the generated spec containing the OpenAPI version gets generated differently depending on the culture settings in the OS.
Repro steps:
This is most likely related to the fact that some cultures use "." as decimal separator while other cultures use ",".
It would be great if the generated spec would be identical regardless of the users culture settings 🙂
The text was updated successfully, but these errors were encountered: