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 Request: Add configure script #70

Open
maukoese opened this issue Apr 8, 2024 · 2 comments
Open

Feature Request: Add configure script #70

maukoese opened this issue Apr 8, 2024 · 2 comments

Comments

@maukoese
Copy link

maukoese commented Apr 8, 2024

I can assist with this.

We can have the

node ace configure adonis-swagger

This script can automate the following steps:

  • Publish the config from a stub
  • Add the routes with the various oprions (swagger, scalar, etc) - with a default one and others commented out
  • During setup; ask use to generate docs:generate command
  • After setup; display instructions to add a prebuild script in package.json to generate docs for production
@ad-on-is
Copy link
Owner

ad-on-is commented Apr 8, 2024

PRs are always welcome! 😅

@maukoese
Copy link
Author

maukoese commented Apr 8, 2024

Awesome. I'll work on this and make a PR. Had fun working on a notifications package last week; I figured out how to go about it.

I'll update you in a week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants