UNPKG

swagger-object-validator

Version:

Validate your objects against a swagger spec and receive in-depth error traces

5 lines (4 loc) 251 B
import * as Promise from 'bluebird'; import { ISpec, ISchema } from '../specs'; import { IValidatorConfig } from '../validator-config'; export declare function extendAllAllOfs(schema: ISchema, config: IValidatorConfig, spec: ISpec): Promise<ISchema>;