[FEATURE] Implements OneOf #37

Merged
HideyoshiNakazone merged 7 commits from feature/implements-one-of into main 2025-08-19 23:45:30 +00:00
Showing only changes of commit c5e70402db - Show all commits

View File

@@ -106,3 +106,7 @@ Examples
.. warning:: .. warning::
If your data could match multiple schemas in a oneOf, validation will fail. Ensure schemas are mutually exclusive. If your data could match multiple schemas in a oneOf, validation will fail. Ensure schemas are mutually exclusive.
.. warning::
The discriminator feature is not officially in the JSON Schema specification, it was introduced by OpenAI. Use it with caution and ensure it fits your use case.