Skip to content

Commit 5ed9a66

Browse files
cameronevansphilsturgeon
authored andcommitted
fix: add continueOnError to SwaggerParser.Options
Adds missing typescript property `continueOnError` to `SwaggerParser.Options`.
1 parent a48e626 commit 5ed9a66

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/index.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ declare namespace SwaggerParser {
272272
*/
273273
spec?: boolean;
274274
};
275+
276+
/**
277+
* If set to `true`, don't throw on the first error
278+
*/
279+
continueOnError?: boolean;
275280
}
276281

277282
export interface HTTPResolverOptions extends Partial<ResolverOptions> {

0 commit comments

Comments
 (0)