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

Add oneOf property schema restriction #4147

Conversation

alanpoulain
Copy link
Member

Q A
Branch? 2.6
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Following #4139.

Add PropertySchemaOneOfRestriction to transform the AtLeastOneOf validation constraint into oneOf JSON Schema restriction.

@alanpoulain alanpoulain force-pushed the fix/at-least-one-of-property-schema-restriction branch from 0e629fa to f9d5b02 Compare March 19, 2021 18:38
@alanpoulain alanpoulain merged commit bf2b104 into api-platform:2.6 Mar 19, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant