( key: string, schema: IApiSchema | IApiReference | ((controller: any) => IApiSchema | IApiReference) )
| 104 | } |
| 105 | |
| 106 | export function ApiDefineSchema( |
| 107 | key: string, schema: IApiSchema | IApiReference | ((controller: any) => IApiSchema | IApiReference) |
| 108 | ): OpenApiDecorator { |
| 109 | return AddMetadataProperty('api:components:schemas', key, schema); |
| 110 | } |
| 111 | |
| 112 | export function ApiDefineResponse( |
| 113 | key: string, response: IApiResponse | IApiReference | ((controller: any) => IApiResponse | IApiReference) |
no test coverage detected