From 6a0c6b97b164fd03f817205882031f2c8ac873f3 Mon Sep 17 00:00:00 2001 From: cameronevans Date: Mon, 6 Mar 2023 16:20:40 -0400 Subject: [PATCH] fix: add continueOnError to SwaggerParser.Options Adds missing typescript property `continueOnError` to `SwaggerParser.Options`. --- lib/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index fc9c618b..fb2e67f5 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -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 {