Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { getSpec } from "@tsed/schema";
See /packages/specs/schema/src/utils/getSpec.ts.
function getSpec(model: Type<any> | JsonTokenOptions, options?: SpecSerializerOptions): Partial<OpenSpec3>;
Return the swagger or open spec for the given class.