How to change the name of the OpenAPI saved document #65100
Unanswered
paulomorgado
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Found this Generate OpenAPI documents - Modify the output file name <PropertyGroup>
<OpenApiGenerateDocumentsOptions>
--file-name my-open-api
</OpenApiGenerateDocumentsOptions>
</PropertyGroup>But it only changes the base name. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is not a bug or misconfiguration. It’s a deliberate limitation of the OpenAPI generation tooling. If you need a different final name, a post-build rename step is still required. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using something like
and using
The file seems to be saved as
<assembly name>_<document name>.json, but I would like it to be something like<document name>.openapi.json.Is that possible without having to rename the file after generation?
Beta Was this translation helpful? Give feedback.
All reactions