-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcfundamentals/subsvc
Description
Description
Hi!
I ran into dotnet/aspnetcore#59157 . It correctly states the docs are incorrect:
By default, the generated OpenAPI document will be emitted to the application's output directory. To modify the location of the emitted file, set the target path in the OpenApiDocumentsDirectory property.
<PropertyGroup>
<OpenApiDocumentsDirectory>./</OpenApiDocumentsDirectory>
</PropertyGroup>
The value of OpenApiDocumentsDirectory is resolved relative to the project file. Using the ./ value above will emit the OpenAPI document in the same directory as the project file.
Using this ./ path causes a build error. It should changed to . to build correctly.
Page URL
Content source URL
Document ID
27bad30c-e0b4-10fb-b202-a29d4f8fad24
Article author
Metadata
- ID: 27bad30c-e0b4-10fb-b202-a29d4f8fad24
- Service: aspnet-core
- Sub-service: fundamentals
Metadata
Metadata
Assignees
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcfundamentals/subsvc