@trapi/metadata
Version:
Generate REST-API metadata scheme from TypeScript Decorators.
20 lines • 604 B
TypeScript
import type { CompilerOptions } from 'typescript';
import type { BaseType, NestedObjectLiteralType, RefObjectType } from '../resolver';
export type { CompilerOptions, };
export type Security = Record<string, string[]>;
export interface Example {
value: unknown | unknown[];
summary?: string;
description?: string;
label?: string;
}
export interface Response {
description: string;
examples?: Example[];
headers?: NestedObjectLiteralType | RefObjectType;
name: string;
produces?: string[];
status: string;
schema?: BaseType;
}
//# sourceMappingURL=type.d.ts.map