eee32a02ae
chore: adds python3.14 to metadata
2025-12-08 18:56:01 -03:00
422cc2efe0
feat: captures any str validation exception and converts it into ValidationError
...
converts any exception thrown in the str parser example validation into ValidationError so that the user knows that this is a error in the schema and not a parsing validation exception
2025-12-05 20:15:08 -03:00
JCHacking
dd31f62ef2
feat: duration string parser
2025-12-01 17:38:31 +01:00
d8fe98639a
fix: fixes annotation definition in anyof parser
2025-11-28 18:28:49 -03:00
fcea994dd6
feat: adds caching per namespace
2025-11-26 15:05:10 -03:00
27e756dadf
feat: format and linting pre-merge
2025-11-26 10:54:42 -03:00
40106e4765
feat: validates that top level type cannot be list
2025-11-26 10:52:50 -03:00
d418ad96ad
feat: adds support for list of types
2025-11-26 10:48:31 -03:00
20872d4a91
feat: stabalizes the api for cached build using instance method
2025-11-25 22:26:28 -03:00
a3cbd5bc3d
feat: better warning for cache colision
2025-11-24 21:06:15 -03:00
682f19654d
feat: better methodology for accessing cached references of: objects, subobjects and defs
2025-11-24 20:52:02 -03:00
c2b9e8daf8
fix: fixes implementation of save object to cache and adds tests
2025-11-24 18:21:27 -03:00
328eb66034
fix: fixes save object after parsing
2025-11-24 18:20:51 -03:00
4de711075e
feat: removes unecessary api keyword
2025-11-24 18:20:51 -03:00
abc8bc2e40
feat: saves object after parsing
2025-11-24 18:20:51 -03:00
10bad254d7
feat: initial implementation of instance level ref cache
2025-11-24 18:20:50 -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
a0d15726d4
feat: adds title and deprecated to the list of default mappings in the GenericTypeParser
2025-11-23 20:17: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
cfbe1f38c8
feat: fixes broken example property extraction in array type parser
2025-11-23 18:09:35 -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
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
9bc16ff1aa
remove print
2025-11-17 23:45:08 +01:00
JCHacking
43ce95cc9a
feat(examples): Add examples for primitive types
...
Refs: #52
2025-11-17 23:42:59 +01:00
Fred Sonnenwald
82feea0ab1
Fix string Field deprecation warning
...
(partial revert of fbbff0b )
2025-09-15 16:50:49 +01:00
156c825a67
feat: more pythonic error parent class
2025-09-14 01:40:59 -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
e61d48881f
feat: initial implementation of explicit exception types
2025-09-13 20:43:30 -03:00
c1f04606ad
fix: removes unecessary check
2025-09-13 19:36:53 -03:00
5eb086bafd
Better Internat Static Typing
2025-09-13 00:16:41 -03:00
Robby
1167b8a540
feat: Add py.typed marker file for proper typing support
...
- Add py.typed marker file to jambo package directory
- Enable static type checkers to recognize and use type annotations from the library
This allows IDEs and tools like mypy, pyright to properly type-check code using this library.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-10 13:59:39 -04:00
71380073e4
(improvement): Formats and Lints Code - Minor Changes
2025-08-20 01:12:56 -03:00
d3a2f1e76c
(improvement): Adds More Type Formats to String Parser
2025-08-20 00:25:02 -03:00
8761ee5ef6
(fix): Fixes docs
2025-08-20 00:00:03 -03:00
7e11c817a7
(fix): Adds check for discriminator type
2025-08-19 22:28:58 -03:00
79932bb595
(feature): Removes _has_meaningful_constraints
...
Removes _has_meaningful_constraints since nowhere in the spec says that a subproperty should have a meaningful value other that its type
2025-08-19 20:29:25 -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