Commit Graph

122 Commits

Author SHA1 Message Date
Thomas
545ec8dda7 chore(jambo): Clean up __future__ typing (#10)
* Replace forward-referenced strings with direct type annotations in `json_schema_type.py`.

* refactor(ref_type_parser): eliminate unused future annotations import
2025-07-08 16:50:53 +02:00
Thomas
9c598eeacc fix(jambo): Update legacy typing to built in types (#9)
* Migrate from `typing_extensions` to `typing` for supported Python versions, and update code to use modern type hinting with unions and annotations.

* Update type hinting to use lowercase generics for Python 3.9+ compatibility.
2025-07-08 16:41:09 +02:00
Thomas
8dbe84fd1c chore(jambo): Remove redundant comments and docstrings (#8)
* Remove redundant comments in type parsers and tests

* Clean up redundant comments in `test_oneof_type_parser.py`

* Remove redundant comments across parsers and tests
2025-07-08 09:06:07 +02:00
Thomas
053279ba95 fix(jambo): Add support for file-path format in StringTypeParser (#7) 2025-07-07 17:31:33 +02:00
Thomas
45018eadd1 fix(jambo): Add binary string support (#6) 2025-07-07 17:20:45 +02:00
Thomas
c7afb5f80b 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-07-07 15:49:58 +02:00
Thomas
06a5ef71ca fix(jambo): Fix required array fields without defaults (#4)
- Adds a test to ensure required array fields without defaults are enforced as required.
- Updates `ArrayTypeParser` to correctly handle `default_factory` for required fields and fields with defaults.
2025-07-04 12:04:37 +02:00
Thomas
0c4de62bba fix(jambo): skip Annotated wrapping for trivial anyOf field constraints (#3) 2025-07-04 11:56:29 +02:00
Thomas
7c1278af16 fix(jambo): Add NullTypeParser implementation and tests (#2) 2025-07-04 11:24:56 +02:00
Thomas
cbcb56c3c4 fix(jambo): Fix allOf constraints (#1)
* Fix incorrect min/max length handling in allOf type parser and update tests accordingly

* Fix schema converter test to correct allOf handling
2025-07-04 11:00:06 +02:00
d431dca353 Merge pull request #31 from HideyoshiNakazone/project/revises-roadmap
Revises Roadmap
v0.1.1
2025-06-23 16:28:40 -03:00
bf42ad638f Adds Docs to README 2025-06-23 16:27:54 -03:00
1bb0995d79 Revises Roadmap 2025-06-23 16:24:45 -03:00
b56598eb02 Merge pull request #30 from HideyoshiNakazone/feature/adds-const
Feature/adds const
2025-06-23 15:32:37 -03:00
60ac12fe39 Adds Docs to Const Type 2025-06-23 15:30:07 -03: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
42a1ae24fe Merge pull request #29 from HideyoshiNakazone/feature/adds-enums
Adds Aditional Validations in Enum
2025-06-22 17:39:54 -03:00
450d44c064 Adds Aditional Validations in Enum 2025-06-22 17:38:58 -03:00
92172c8711 Merge pull request #28 from HideyoshiNakazone/feature/adds-enums
[Feature] Adds Enums
2025-06-22 17:25:27 -03:00
6c94047ec0 Adds Docs for Enum 2025-06-22 17:21:28 -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
4ba5d83df6 Merge pull request #27 from HideyoshiNakazone/project/add-funding
Create FUNDING.yml
2025-06-22 10:16:58 -03:00
bdaa0cb5b1 Create FUNDING.yml 2025-06-22 10:16:42 -03:00
0ede98fcf0 Merge pull request #26 from HideyoshiNakazone/feature/add-doc
Fix ReadTheDocs Config File
2025-06-22 08:45:32 -03:00
ed2bb35d45 Fix ReadTheDocs Config File 2025-06-22 08:45:05 -03:00
798ea1d601 Merge pull request #21 from HideyoshiNakazone/feature/add-doc
Feature/add doc
2025-06-21 18:43:38 -03:00
02d11f57b2 Adds Config ReadTheDocs 2025-06-21 18:40:41 -03:00
bcbc83e502 Fixes Minor Fields in Docs 2025-06-21 18:26:14 -03:00
ac239c2617 Adds Docs for AllOf and AnyOf 2025-06-21 18:20:44 -03:00
dee8b02d26 Adds Docs for Ref Type 2025-06-21 11:46:47 -03:00
12471ac804 Adds Docs for Object 2025-06-21 08:39:01 -03:00
b92cf37145 Adds Docs for Array, Bool and Numeric 2025-06-20 23:12:33 -03:00
249195ff26 Finalizes String Doc 2025-06-20 22:54:24 -03:00
c504efe23b Initial Work on Documentation 2025-06-19 23:51:33 -03:00
040ffcba66 Merge pull request #20 from HideyoshiNakazone/feature/ref-type-parser
[FEATURE] Implementation of $ref JSON Schema Keyword
2025-06-19 22:09:11 -03:00
58d4cd9707 Adds Feature Example of the New Feature to the ReadMe 2025-06-19 22:03:28 -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
129114a85f Merge pull request #19 from HideyoshiNakazone/project/fixes-feature-request-issue-template
Update issue templates
2025-06-12 00:53:38 -03:00
3e7d796ef7 Update issue templates 2025-06-12 00:53:28 -03:00
fd967cf6fe Merge pull request #17 from HideyoshiNakazone/project/adds-issue-template
Update issue templates
2025-06-12 00:45:39 -03:00
21c4e4ab75 Update issue templates 2025-06-12 00:45:14 -03:00
cbef7104c4 Merge pull request #16 from HideyoshiNakazone/improvement/better-internal-structure
Better Object Internal Structure and Type Selection
2025-06-04 01:27:29 -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