UNPKG

swagger-object-validator

Version:

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

9 lines (8 loc) 232 B
import * as Swagger from 'swagger-schema-official'; export interface ISpec extends Swagger.Spec { } export interface ISchema extends Swagger.Schema { allOfResolved?: boolean; allOf?: ISchema[]; 'x-nullable'?: boolean; }