Skip to content

Documentation

Swagger UI 3rd

The Swagger UI middleware provides a simple way to document your API.

Usage

ts
import { App } from 'https://deno.land/x/toruk/mod.ts'
import { swagger } from 'https://deno.land/x/toruk/middlewares/mod.ts'

new App({
  routes: [ /* ... */ ],
  use: [
    swagger(),
  ]
}).serve()

Released under the MIT License.