GenerateSpecOptions
@tsed/schema
Usage
typescript
import { GenerateSpecOptions } from "@tsed/schema";Overview
ts
interface GenerateSpecOptions extends Omit<SpecSerializerOptions, "specType"> {
tokens: JsonTokenOptions;
version?: string;
acceptMimes?: string;
specVersion?: string;
spec?: any;
fileSpec?: any;
sortPaths?: boolean;
}tokens
ts
tokens: JsonTokenOptions;version
ts
version?: string;acceptMimes
ts
acceptMimes?: string;specVersion
ts
specVersion?: string;spec
ts
spec?: any;fileSpec
ts
fileSpec?: any;sortPaths
ts
sortPaths?: boolean;