By default, the generated OpenAPI document will have the same name as the application's project file. To modify the name of the emitted file, set the --file-name argument in the OpenApiGenerateDocumentsOptions property. XML Copy <PropertyGroup> <OpenApiGenerateDocumentsOptions>--file-name my-...
To generate multiple OpenAPI documents, call theAddOpenApiextension method once for each document, specifying a different document name in the first parameter each time. C# builder.Services.AddOpenApi("v1"); builder.Services.AddOpenApi("v2"); ...
By default, the generated OpenAPI document will have the same name as the application's project file. To modify the name of the emitted file, set the --file-name argument in the OpenApiGenerateDocumentsOptions property. XML Copy <PropertyGroup> <OpenApiGenerateDocumentsOptions>--file-name my-...
By default, the generated OpenAPI document will have the same name as the application's project file. To modify the name of the emitted file, set the --file-name argument in the OpenApiGenerateDocumentsOptions property. XML Copy <PropertyGroup> <OpenApiGenerateDocumentsOptions>--file-name my-...