ASP.NET: setting the OpenAPI spec version not working
I'm trying to set the OpenAPI spec version to 3.0 for the time being, yet neither the delegate method nor the MSBuild method proposed in the docs are working.
I need it as 3.0 for the correct OpenAPI.json file to be generated, and have tried this:
Program.cs:
BackendService.csproj:
Yet the generated OpenAPI.json is always version 3.1:
OpenAPI.json:
Any suggestions gladly appreciated!
1 Reply
sounds like a bug for sure, maybe try it in a minimal example to make sure?