@sojs/swagger
v0.3.1-alpha.0
Published
modern fastify (@swagger)
Downloads
3
Readme
@sojs/swagger
Swagger Document
Usage
import { FastifyPlusApplication } from '@sojs/core';
import { DocumentBuilder } from '@sojs/swagger';
async function bootstrap() {
const app = await FastifyPlusApplication.create({
appRootPath: __dirname,
});
DocumentBuilder.create(app).build();
}
bootstrap();