OpenApiGenerateDocumentsOnBuild broken in v13.10.09
See original GitHub issueOpenApi documents are no longer being correctly generated on build in v13.10.09 #3402
Reverting to v13.10.08 fixes the issue immediately. Did the syntax change?
<OpenApiGenerateDocumentsOnBuild>true</OpenApiGenerateDocumentsOnBuild>
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tried updating to the latest version myself and noticed that nuget listed the
Microsoft.Extensions.ApiDescription.Server
package as being uninstalled, which might explain it? (that package doesn’t seem to be referenced by the newly added .NETCore 3.1 and net50 TFMs)Adding a reference to
Microsoft.Extensions.ApiDescription.Server
directly to my own solution seems to fix itYes, the package doesnt contain any DLL refs, only build targets and tools https://apimundo.com/organizations/nuget-org/nuget-feeds/public/packages/Microsoft.Extensions.ApiDescription.Server/versions/5.0.5?tab=nuspec
I think it’s fine to add them.