Swagger API for bform
npm install
- due to #1, change must be made to installed modules
edit
node_modules/swagger/config/index.js
changeeditorDir: path.resolve(config.nodeModules, 'swagger-editor'),
toeditorDir: path.dirname(require.resolve('swagger-editor'))
npm run edit
npm run start
and seehttp://localhost:10010/docs/
for swagger UI
node util/convert.js
will generate a swagger.json file in util
folder. You can use it to generate
module and classes in other frameworks