question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OpenApiGenerateDocumentsOnBuild broken in v13.10.09

See original GitHub issue

OpenApi 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:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Numpsycommented, Apr 9, 2021

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 it

0reactions
RicoSutercommented, Apr 13, 2021

Yes, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found