Description
It seems that the property to generate the Open API document should be OpenApiGenerateDocumentsOnBuild instead of OpenApiGenerateDocuments.
For me the generation started working after changing this property name.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/overview.md
Document ID
d8ac1ac3-8b34-6886-bca4-740514f94229
Platform Id
fc9e39cd-d174-e15e-47f9-bedd1b2be2cd
Article author
@Rick-Anderson
Metadata
- ID: d8ac1ac3-8b34-6886-bca4-740514f94229
- PlatformId: fc9e39cd-d174-e15e-47f9-bedd1b2be2cd
- Service: aspnet-core
- Sub-service: fundamentals
Related Issues
Description
It seems that the property to generate the Open API document should be
OpenApiGenerateDocumentsOnBuildinstead ofOpenApiGenerateDocuments.For me the generation started working after changing this property name.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/overview.md
Document ID
d8ac1ac3-8b34-6886-bca4-740514f94229
Platform Id
fc9e39cd-d174-e15e-47f9-bedd1b2be2cd
Article author
@Rick-Anderson
Metadata
Related Issues