Skip to content

Commit

Permalink
fix: add continueOnError to SwaggerParser.Options
Browse files Browse the repository at this point in the history
Adds missing typescript property `continueOnError` to `SwaggerParser.Options`.
  • Loading branch information
cameronevans authored and philsturgeon committed Jan 7, 2025
1 parent 9e2d461 commit 6a0c6b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@ declare namespace SwaggerParser {
*/
spec?: boolean;
};

/**
* If set to `true`, don't throw on the first error
*/
continueOnError?: boolean;
}

export interface HTTPResolverOptions extends Partial<ResolverOptions> {
Expand Down

0 comments on commit 6a0c6b9

Please sign in to comment.