-
Hello! I am utilizing openapi-typescript-code-generator for a project where I generate both the client and server (python through connexion/aiohttp). I like the path-oriented structure of creating the API spec, however, I have noticed other tools do often times not play nicely when using remote references. So far I have used another tool to generate the OpenAPI spec into a single file from the path-oriented structure. However, this file inlines all the specifications under the components/ folder. So my question is if there is a way for openapi-typescript-code-generator to output a merged OpenAPI monolith file where all schemas are defined under "components" and then referenced to with "#/components/SomeSchema" in the rest of the file? Thanks for a great tool! /Fredrik |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Very good question! I am working on being able to output only Parased Open API Spec right now. I am currently making adjustments in #46 to achieve this. I'm planning to implement this fix in the near future. To answer your question below, I'm a little unsure if the changes I'm making will accomplish this.
If you can provide a more specific example, I can respond more clearly, can you provide a sample code? The answer will probably be yes, but I would like to answer the question more precisely. Thanks. |
Beta Was this translation helpful? Give feedback.
Very good question!
I am working on being able to output only Parased Open API Spec right now. I am currently making adjustments in #46 to achieve this. I'm planning to implement this fix in the near future.
To answer your question below, I'm a little unsure if the changes I'm making will accomplish this.
If you can provide a more specific example, I can respond more clearly, can you provide a sample code? The answer will probably be yes, but I wou…