Add option to specify custom OpenAPI output file name like Swashbuckle.AspNetCore.Cli #56973
Closed
1 task done
Labels
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
With the incomming removal of Swashbuckle from .NET in 9 version, I've start using the Microsoft.AspNetCore.OpenApi package for a new project.
But when It comes to swagger.json generation, the file generated has a specific name (ProjectName.json if openapi document name is v1(default) or ProjectName_documentName.json if specific openapi document name is set).
In my previous projects or at work, I use Swashbuckle.AspNetCore.Cli to generate the json file. In the parameters we can specify a output file name via a complete path including filename we want.
But with OpenAPI, it doesn't work.
Describe the solution you'd like
Un specific parameter to set a custom output file name.
PS: regarless this issue, the documentation on how to use it or generate the file, options and so are very light... If it will be the new recommended option, it will need more documentation !
Additional context
No response
The text was updated successfully, but these errors were encountered: