Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@36node/koa-openapi

36node69MIT0.1.7TypeScript support: included

koa openapi middleware for 36node team.

readme

@36node/koa-openapi

version downloads

Install

yarn add @36node/koa-openapi

Usage

import openapi from "@36node/koa-openapi";
app.use(
  openapi({
    url: `${BASE}/openapi.yml`,
    file: path.join(__dirname, "../openapi.yml"),
  })
);

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

module © 36node, Released under the MIT License.

Authored and maintained by 36node with help from contributors (list).

github.com/zzswang · GitHub @36node

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.1.7 (2020-06-22)

Bug Fixes

0.1.6 (2020-06-22)

Bug Fixes

  • some typings and dependencies (4304f4d)

0.1.5 (2019-10-14)

Bug Fixes

0.1.4 (2019-08-07)

Note: Version bump only for package @36node/koa-openapi

0.1.3 (2019-08-07)

Note: Version bump only for package @36node/koa-openapi

0.1.2 (2019-08-05)

Note: Version bump only for package @36node/koa-openapi

0.1.1 (2019-07-24)

Note: Version bump only for package @36node/koa-openapi

0.1.0 (2019-06-06)

Bug Fixes

Features

  • middleware koa-health and koa-openapi (7a5fe8c)