UNPKG

@nestjs/swagger

Version:

OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.

5 lines (4 loc) • 388 B
import { Type } from '@nestjs/common'; import { SchemaObject } from '../interfaces/open-api-spec.interface.js'; import { SchemaObjectFactory } from '../services/schema-object-factory.js'; export declare const exploreApiCallbacksMetadata: (schemas: Record<string, SchemaObject>, schemaObjectFactory: SchemaObjectFactory, instance: object, prototype: Type<unknown>, method: object) => any;