3.1.1 • Published 1 month ago
swagger-fastify-generator v3.1.1
Install
npm install swagger-fastify-generator
Usage
const { start } = require('./generator');
const path = require('path');
(async () => {
try {
await start({
projectRoot: path.join(__dirname, '..'),
type: 'full',
isCreatePolicy: true,
isDebug: false,
routerMode: 'decoded',
prefix: '/v1'
});
} catch (err) {
console.error(err);
}
})();
Template files supported
controller.hbs
router.hbs
routers.index.hbs
services.hbs
{{{stringify @root}}} : to show all data
3.1.1
1 month ago
3.0.2
1 month ago
3.0.1
1 month ago
2.1.2
2 months ago
2.0.3
2 months ago
2.0.5
2 months ago
2.0.4
2 months ago
2.0.2
2 months ago
2.0.1
2 months ago
2.0.0
2 months ago
1.0.8
2 months ago
1.0.7
3 months ago
1.0.6
3 months ago
1.0.5
3 months ago
1.0.4
4 months ago
1.0.3
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago