Commit Graph

95 Commits

Author SHA1 Message Date
9837a99ec9 feat: adds tests for type not found in ref_cache 2025-11-24 19:53:29 -03:00
3a8ca951db feat: adds tests for isolation method in ref_cache 2025-11-24 19:52:54 -03:00
57f8b571de feat: adds tests for SchemaConverter.get_cached_ref 2025-11-24 19:38:53 -03:00
5ec30cd565 feat: changes tests to use instance level build 2025-11-24 19:32:42 -03:00
c2b9e8daf8 fix: fixes implementation of save object to cache and adds tests 2025-11-24 18:21:27 -03:00
abc8bc2e40 feat: saves object after parsing 2025-11-24 18:20:51 -03:00
2da409e6df fix: fixes invalid subobject required 2025-11-24 17:34:29 +00:00
f15913c58e feat: tests that the generated fields in the oneOf parser have unique names and applies the same logic to the anyOf parser 2025-11-23 22:09:55 -03:00
f80a1bbda3 feat: fixes error of multiple forwardref with same name 2025-11-23 21:52:09 -03:00
5036059272 feat: adds tests for examples in ref 2025-11-23 20:09:16 -03:00
90639b6426 chore: subs typing import to typing_extensions 2025-11-23 20:05:28 -03:00
e43e92cb9e feat: minor adjustments to oneOf and adds tests for examples in allOf, oneOf, anyOf 2025-11-23 20:03:19 -03:00
ffbd124cf9 feat: adds example to allOf 2025-11-23 18:59:47 -03:00
9823e69329 feat: fixes test for object example 2025-11-23 15:02:50 -03:00
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
156c825a67 feat: more pythonic error parent class 2025-09-14 01:40:59 -03: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
f4d84d2749 feat: better exceptions for GenericTypeParser and AllOfTypeParser 2025-09-13 21:11:11 -03:00
5eb086bafd Better Internat Static Typing 2025-09-13 00:16:41 -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
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