UNPKG

@nestjs/swagger

Version:

Nest - modern, fast, powerful node.js web framework (@swagger)

43 lines (42 loc) 1 kB
export interface SwaggerBaseConfig { swagger?: string; info?: { description?: string; version?: string; title?: string; termsOfService?: string; contact?: { email: string; }; license?: { name: string; url: string; }; }; tags?: { name: string; description: string; }[]; host?: string; basePath?: string; externalDocs?: { description: string; url: string; }; schemes?: SwaggerScheme[]; securityDefinitions?: { bearer?: { type: string; name: string; in: 'body' | 'query' | 'header'; }; oauth2?: { type: 'oauth2'; flow: 'implicit' | 'password' | 'application' | 'accessCode'; authorizationUrl?: string; tokenUrl?: string; scopes?: object; }; }; } export declare type SwaggerScheme = 'http' | 'https';