-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Enhance JSON Schema Converter (#134)
This PR enhances the JSONSchemaConverter: - Support `oneOf` - Support `allOf` with one option - Support `$ref` with any path (previously only those starting with `#/$def/` is supported) - Support object with `properties` specified but not `type`, and array with `item` specified but not `type` This PR also completes support for pydantic V1.
- Loading branch information
Showing
3 changed files
with
405 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.