7e11c817a7
(fix): Adds check for discriminator type
2025-08-19 22:28:58 -03:00
15944549a0
(feat): Adds Aditional Tests
2025-08-19 20:40:49 -03:00
86894fa918
(feature): Fix OneOf behavior on invalid discriminator
...
According to the spec, propertyName is required when using a discriminator. If it is missing, the schema is invalid and should throw.
2025-08-19 20:20:20 -03:00
b386d4954e
Merge remote-tracking branch 'origin/main' into feature/implements-one-of
2025-08-19 19:02:43 -03:00
6dad6e0c68
(feat): Adds Aditional Test for Non-Hashable Const Values
2025-08-19 18:58:33 -03:00
fbbff0bd9e
Removes Changes Not Feature Specific
2025-08-19 18:49:45 -03:00
Thomas
9aec7c3e3b
feat(jambo): Add oneOf parser ( #5 )
...
* Add support for `oneOf` type parsing with validation and example cases
* Improve `oneOf` type parsing: refine validators, add discriminator support, and expand test coverage
* Add hashable and non-hashable value support to `ConstTypeParser` with expanded test cases
* Refine `field_props` check in `_type_parser` for cleaner default handling
* Update `StringTypeParser` to refine `format` handling and enrich `json_schema_extra`
* Remove outdated `oneOf` examples from docs, expand test cases and provide refined examples with discriminator support
2025-08-19 18:44:01 -03:00
cc6f2d42d5
Separates PR for Better Testing and Readability
2025-08-19 18:40:30 -03:00
Thomas
9797fb35d9
feat(jambo): Add oneOf parser ( #5 )
...
* Add support for `oneOf` type parsing with validation and example cases
* Improve `oneOf` type parsing: refine validators, add discriminator support, and expand test coverage
* Add hashable and non-hashable value support to `ConstTypeParser` with expanded test cases
* Refine `field_props` check in `_type_parser` for cleaner default handling
* Update `StringTypeParser` to refine `format` handling and enrich `json_schema_extra`
* Remove outdated `oneOf` examples from docs, expand test cases and provide refined examples with discriminator support
2025-08-19 18:31:51 -03:00
81a5fffef0
Merge pull request #32 from fredsonnenwald/add-null
...
Add null type parser
2025-08-18 23:39:11 -03:00
00d88388f8
Fixes Behavior of Pydantic None Type and Adds More Tests
2025-08-18 23:33:16 -03:00
609af7c32b
Merge pull request #35 from fredsonnenwald/add-duration
...
add string duration -> timedelta
2025-08-18 23:05:08 -03:00
7b9464f458
Fixes Array So No DefaultFactory is Created When no Default is Set and Field is Required
2025-08-18 22:53:28 -03:00
617f1aab2b
Adds Failing Test Case to Test
2025-08-18 22:27:49 -03:00
Fred Sonnenwald
976708934f
add string duration -> timedelta
2025-08-08 12:38:33 +01:00
Fred Sonnenwald
e9d61a1268
Add null type parser
2025-06-30 12:23:47 +01:00
198ebecef0
Adds Final Tests for Const Type
2025-06-23 15:18:34 -03:00
65a81a8da5
Initial Const Implementation
2025-06-22 22:13:53 -03:00
450d44c064
Adds Aditional Validations in Enum
2025-06-22 17:38:58 -03:00
ef66903948
Minor Fixes in EnumTypeParser and Adds Better UnitTests
2025-06-22 16:43:53 -03:00
7e591f0525
Initial Implementation of Enum
2025-06-22 11:18:42 -03:00
dee8b02d26
Adds Docs for Ref Type
2025-06-21 11:46:47 -03:00
607555898e
Final and Tested Version of Ref
2025-06-19 00:39:54 -03:00
37cf59078e
Working Version of Root Level Reference
2025-06-13 01:52:20 -03:00
f4effac41c
Initial Working $ref Keyword with: ForwardRef, Partial Root Ref and Recursive Ref
2025-06-13 01:36:16 -03:00
188cd28586
**BROKEN INITIAL FOWARDREF**
2025-06-12 02:35:09 -03:00
760f30d08f
Initial Implementation of $ref
2025-06-12 01:54:52 -03:00
dbbb8e0419
Fixes Tests
2025-06-04 01:26:06 -03:00
4bbb896c46
Fixes Default Values in StringTypeParser
2025-06-04 01:12:45 -03:00
3273fd84bf
Fixes Test and Reports
2025-06-03 03:00:49 -03:00
782e09d5e3
Adds Test to SchemaConverter.build Schema Validation
2025-06-03 02:35:25 -03:00
66ca341bb2
Adds Test to AllOf
2025-06-03 02:31:13 -03:00
25d8e68e95
Fixes Test and Reports
2025-06-03 02:20:15 -03:00
2b2c823e27
Fixes Test of AllOf
2025-06-03 00:49:54 -03:00
e37e9818ed
Initial Work on TypeParser Kwargs
2025-06-03 00:48:22 -03:00
bef42e4cdb
Better Object Internal Structure and Type Selection
2025-06-03 00:15:19 -03:00
Pu Chen
b52997633c
Support string format
2025-05-06 22:52:08 +08:00
f9f986e3c8
Fixes Minor Element in AnyOf Test
2025-04-19 17:30:11 -03:00
b409ce49a5
Fixes Validation of JsonSchema
2025-04-19 17:23:38 -03:00
863494ab9c
Finalizes AnyOfTypeParser Tests
2025-04-19 16:57:56 -03:00
20e4a69968
Move Aux Function to the GenericTypeParser Class
2025-04-19 16:45:32 -03:00
42bc0148b8
Adds Test for Boolean Default Value
2025-04-19 15:46:37 -03:00
c6a37dab74
Better Defaults Validation Implementation
2025-04-19 15:44:27 -03:00
5c3d3a39ba
Implements Feature Complete AnyOf Keyword
2025-04-19 15:23:22 -03:00
5fdb4fa724
Removes OneOf due to complexity and niche use case
...
After further analysis, the functionality was deemed too complex to implement for such a niche use case and will therefore be removed from the implementation backlog
2025-04-17 16:06:55 -03:00
dc350aaa8b
Adds Test for AllOfTypeParser Case
2025-04-17 03:07:08 -03:00
d5149061a1
Formats Import Orders
2025-04-17 03:04:38 -03:00
459d9da0b9
Final Implementation of AllOf Keyword
2025-04-17 03:03:22 -03:00
6d1febbcc1
Initial allOf Implementation
2025-04-14 03:22:42 -03:00
7272b1a74b
Implements Object Defaults
2025-04-13 02:40:07 -03:00