By default, the first api version is made for you. If you decide to create a new version,you can generate a new one with new documentation built for each version individually.
$ node-rails new-api-version <YOUR-NEW-API-VERSION-NUMBER>$ npm run build:dev
Inside of the controllers directory, you will see a new directory designated for the new api version. You can generate new controllers for any api version that you have created. Inside of the routes directory, you will see a new directory designated for the new api version. All routes created in the new directory will be found on the new API docs made for the new api version. The routes are prefixed with a "v" + YOUR-NEW-API-VERSION-NUMBER.
$ node-rails new-api-version 2$ npm run build:dev
$ node-rails nav <YOUR-NEW-API-VERSION-NUMBER>