Commit Graph

57 Commits

Author SHA1 Message Date
84292cf3c0 feat: fixes and validates so that arrays have parsed examples 2025-11-23 14:59:16 -03:00
8b1520741b feat: fixes and validates that objects have parsed examples 2025-11-23 14:40:14 -03:00
c7e366cf08 feat: improves test coverage 2025-11-23 02:42:54 -03:00
07f301db1c feat: removes python3.10 specific broken test 2025-11-23 02:25:41 -03:00
c9330dfd6d feat: fixes error on validation of IPAddresses by Upgrading Pydantic min version to v2.12.4, fixes internal tests implementation and fixes minor logic errors 2025-11-23 02:15:41 -03:00
JCHacking
43ce95cc9a feat(examples): Add examples for primitive types
Refs: #52
2025-11-17 23:42:59 +01:00
8c6a04bbdf feat: adds simple tests for internal exceptions 2025-09-14 01:09:48 -03:00
e31002af32 feat: fixes tests to validate the type of exception thrown 2025-09-14 00:47:24 -03:00
30290771b1 feat: alters all standart errors and messages for more specific errors 2025-09-14 00:10:33 -03:00
71380073e4 (improvement): Formats and Lints Code - Minor Changes 2025-08-20 01:12:56 -03:00
97aed6e9aa (improvement): Adds tests for UUID String Format 2025-08-20 00:30:54 -03:00
d3a2f1e76c (improvement): Adds More Type Formats to String Parser 2025-08-20 00:25:02 -03:00
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
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
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
607555898e Final and Tested Version of Ref 2025-06-19 00:39:54 -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
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