Merge multiple open-api specs into one #1657
Unanswered
LeunensMichiel
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @LeunensMichiel, this isn't possible today. Are you saying you have 7 specs describing the same API? If yes, why are they separated? As for your potential workaround, you could look at other tooling for merging specs and then pass the resulting spec to the codegen. I'd like to understand your use case though! |
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
-
Hi,
We have 7 open-api specs but they all use the same api. This means that we have 7 generated folders with each their hey-api client, types, sdk etc. I'd like to import the client from one possible directory, instead of having the option to import multiple clients (for which we also have to set the auth interceptors for each and every one)
Is it possible to somehow merge the contents of this folder into one? And if not, is it possible to merge the open-api spec somehow and then use that merged result as input of the hey-api config?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions