0.3.1-alpha.0 • Published 4 years ago
@sojs/swagger v0.3.1-alpha.0
@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();
0.3.1-alpha.0
4 years ago