Specfront

deno doc

Unofficial Swagger UI wrapper library for Deno.

Usage

import { serve } from "https://deno.land/std/http/server.ts";
import { specfront } from "https://deno.land/x/specfront/mod.tsx";

serve((req) =>
  specfront(req, {
    spec: {
      title: "Sample Swagger",
      description: "Swagger UI testing page",
      path: "/petstore",
      url: "https://petstore3.swagger.io/api/v3/openapi.json",
    },
  })
);

LICENSE

Apache License 2.0 (Inherited from Swagger UI)