Change CLI folder structure #8233
Unanswered
santomegonzalo
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello everybody.
I'm trying to understand if there is any way to change the
lb4
cli to support a different folder structure.Why?
We have a service where we are calling another Backend service that is using OpenAPI, so we are using
lb4 openapi --client
, and it works great. Still, I would like to save all the generatedmodels
inside themodels/externalService
folder instead ofmodels
because themodels
folder will be our default folder for all our models, and we do not want to mix things up.I know I can move everything by hand, but
lb4 openapi
by default will check if the file already exists and if something changed from the last time.If there is no way to make it work for the
lb4 openapi
command, I can live with changing thelb4 model
and move the default models to another folder instead of the defaultmodels
too.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions