If you use an OpenAPI 3.0 YAML Specification, you can run this NodeJS script to generate a preformatted list of the available routes and their response(s).
To initialize the project run:
$ npm i
To run the project you can either run with:
$ npm start
which will look for an api.yaml
file in the root directory of the project, or
you can run the project with:
$ npm start ./api.yaml ./schema.yaml ./other.yaml
which will look for all of the yaml files specified as command line arguments. Upon running the project the specification for the yaml file(s), the program will output to the Terminal/Command Prompt and will need to be copied to the appropriate README file.
You can run the project with
$ node ./index.js
or
$ node ./index.js ./api.yaml ./schema.yaml ./other.yaml
$ npm start ./api.yaml ./views.yaml