Skip to content

openApiMiddleware

@tsed/openapi-utils

Usage

typescript
import { openApiMiddleware } from "@tsed/openapi-utils";

See /packages/specs/openapi-utils/src/middlewares/openApiMiddleware.ts.

Overview

ts
function openApiMiddleware(conf: OpenApiSettings): () => Promise<void>;

Description

Return a middleware to expose the OpenAPI spec.

Released under the MIT License.