You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is quite a bit of work in having to undo the changes that the openapi-generator does, but if we created our own templates to import from a core module within the package that is unchanged, then it wouldn't be an issue.
Essentially this is the command I run to generate a service:
openapi-generator generate -i openapi.yaml -g python-flask -o server -t .codegen/server/
Create core module by copying everything in controllers in your packages into core. example
Run the generation command above and get something like this: example. Notice how everything in controllers now just pulls from core.controllers.queue_controller?
The text was updated successfully, but these errors were encountered:
We should create a GH repository where can be develop these template and either publish our custom openapi-generator to npmjs and/or Docker Hub (see openapi-generator Dockerfile).
Currently, there is quite a bit of work in having to undo the changes that the openapi-generator does, but if we created our own templates to import from a
core
module within the package that is unchanged, then it wouldn't be an issue.Essentially this is the command I run to generate a service:
To get to this point, you will want to:
core.controllers.queue_controller
?The text was updated successfully, but these errors were encountered: