diff --git a/src/LEGO.AsyncAPI.Readers/ParsingContext.cs b/src/LEGO.AsyncAPI.Readers/ParsingContext.cs index 84d49d1e..5c225d89 100644 --- a/src/LEGO.AsyncAPI.Readers/ParsingContext.cs +++ b/src/LEGO.AsyncAPI.Readers/ParsingContext.cs @@ -82,7 +82,7 @@ internal AsyncApiDocument Parse(JsonNode jsonNode) break; default: - throw new AsyncApiUnsupportedSpecVersionException(inputVersion, this.Settings); + throw new AsyncApiUnsupportedSpecVersionException(inputVersion); } return doc;