Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,22 @@ declare namespace SwaggerParser {
*/
circular?: boolean | 'ignore'
}

/**
* The `validate` options control how Swagger Parser will validate the API.
*/
validate?: {

/**
* If set to `false`, then validating against the Swagger 2.0 Schema or OpenAPI 3.0 Schema is disabled.
*/
schema?: boolean,

/**
* If set to `false`, then validating against the Swagger 2.0 Specification is disabled.
*/
spec?: boolean,
}
}

export interface HTTPResolverOptions extends Partial<ResolverOptions> {
Expand Down