Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add a generate subcommand #4

Open
YourTechBud opened this issue Jun 17, 2023 · 0 comments
Open

[Feature] Add a generate subcommand #4

YourTechBud opened this issue Jun 17, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@YourTechBud
Copy link
Contributor

YourTechBud commented Jun 17, 2023

The problem faced currently?

We need to manually create a OpenAPISource for each worker made using this library. It would be great if we could automatically generate it.

How can we solve it?

  • Add a generate command in cobra
  • This will generate the openapi.json file in memory but will not start/ begin the server
  • The URL will be taken via a flag
  • It will instead generate an OpenAPISource object in the resources directory of that package

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

@YourTechBud YourTechBud added the enhancement New feature or request label Jun 17, 2023
@YourTechBud YourTechBud added this to the v0.1.0 milestone Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant