@sojs/swagger
TypeScript icon, indicating that this package has built-in type declarations

0.3.1-alpha.0 • Public • Published

@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();

Readme

Keywords

none

Package Sidebar

Install

npm i @sojs/swagger

Weekly Downloads

0

Version

0.3.1-alpha.0

License

MIT

Unpacked Size

289 kB

Total Files

10

Last publish

Collaborators

  • metauro