openapi-decorators
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

openapi-decorators

provide decorators for building swagger docs

Introduction

TODO 通过装饰器的方式构建 swagger docs 并提供开箱即用的方式 提供装饰器用于扩展 koa-router 的能力,支持添加装饰器的 middleware,支持参数校验(可选) 扩展 koa-router 提供基于 swagger docs 的可调试接口文档和参数校验能力

openapi-decorators 提供基础的 swagger 装饰器能力 openapi-decorators-router(koa-swagger-decorator) -> 基于 swagger 定义,扩展 koa-router 的能力

/openapi-decorators/

    Package Sidebar

    Install

    npm i openapi-decorators

    Weekly Downloads

    2

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    71.5 kB

    Total Files

    60

    Last publish

    Collaborators

    • coooody