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

Not work ref and allOf both with "additionalProperties": false #406

Open
Vostryakoff opened this issue Jan 13, 2025 · 0 comments
Open

Not work ref and allOf both with "additionalProperties": false #406

Vostryakoff opened this issue Jan 13, 2025 · 0 comments

Comments

@Vostryakoff
Copy link

example

"test": { "allOf": [ { "$ref": "/RefTest" }, // "additionalProperties": false too { "type": "object", "properties": { "test_add_props": { "type": "string" } }, "required": ["test_add_props"], "additionalProperties": false } ] }
I get errors. All props from /RefTest is not allowed to have the additional property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant