Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve references before validating the discriminator #1815

Merged
merged 15 commits into from
Jan 15, 2022
Merged
Prev Previous commit
fix regexp in the test
  • Loading branch information
epoberezkin authored Jan 15, 2022
commit c6839a8a40372c56fe2729824df6688a1929ddd2
2 changes: 1 addition & 1 deletion spec/discriminator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe("discriminator keyword", function () {
required: ["foo"],
oneOf: [{properties: {}}],
},
/discriminator: oneOf subschemas (or referenced schemas) must have "properties\/foo"/
/discriminator: oneOf subschemas \(or referenced schemas\) must have "properties\/foo"/
)
})

Expand Down