@36node/koa-openapi

koa openapi middleware for 36node team.

Usage no npm install needed!

<script type="module">
  import 36nodeKoaOpenapi from 'https://cdn.skypack.dev/@36node/koa-openapi';
</script>

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