midwayjs-knife4js
TypeScript icon, indicating that this package has built-in type declarations

3.11.14 • Public • Published

midway swagger module

usage

same as @midwaysjs/swagger, edit in configuration.ts, Then visit /knife4js/index.html

// import * as swagger from '@midwayjs/swagger';
import * as swagger from 'midwayjs-knife4js';

@Configuration({
  imports: [
    koa,
    validate,

    swagger,
  ],
})

Thanks to @nestjs/swagger

this is a sub package for midway.

Document: https://midwayjs.org

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i midwayjs-knife4js

Weekly Downloads

1

Version

3.11.14

License

MIT

Unpacked Size

5.29 MB

Total Files

87

Last publish

Collaborators

  • node-eco