adonis-autoswagger icon indicating copy to clipboard operation
adonis-autoswagger copied to clipboard

Feature Request: Add configure script

Open maukoese opened this issue 1 year ago • 3 comments

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

maukoese avatar Apr 08 '24 12:04 maukoese

PRs are always welcome! 😅

ad-on-is avatar Apr 08 '24 12:04 ad-on-is

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.

maukoese avatar Apr 08 '24 12:04 maukoese