passing specConfiguration to validator

This commit is contained in:
2026-06-18 23:57:32 +05:30
parent f345dafb46
commit 8c824d5239
2 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ export function AppProvider({ specConfiguration, children }: AppProviderProps) {
const spec = await loadSpec(specConfiguration.specUrl);
const allMessages = validateSpec(spec);
const allMessages = validateSpec(spec, specConfiguration);
const errs = allMessages.filter((m) => m.type === "error");
const warns = allMessages.filter((m) => m.type === "warning");