@nestjs/swagger
Version:
OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.
16 lines (15 loc) • 467 B
TypeScript
export interface SwaggerUiOptions {
initOAuth?: {
clientId?: string;
clientSecret?: string;
realm?: string;
appName?: string;
scopeSeparator?: string;
scopes?: string[];
additionalQueryStringParams?: Record<string, string>;
useBasicAuthenticationWithAccessCodeGrant?: boolean;
usePkceWithAuthorizationCodeGrant?: boolean;
};
persistAuthorization?: boolean;
[key: string]: any;
}