Commit Graph

23 Commits

Author SHA1 Message Date
Mahmoud-Emad
0bfb5cfdd0 refactor: Update JSON parsing and schema inflation
- Use `json2.decode[json2.Any]` instead of `json2.raw_decode`
- Add `@[required]` to procedure function signatures
- Improve error handling for missing JSONRPC fields
- Update `encode` to use `prettify: true`
- Add checks for missing schema and content descriptor references
2025-10-22 21:14:29 +03:00
Mahmoud-Emad
8f2d187b17 fix: Rename freeflowuniverse to incubaid 2025-10-12 12:30:19 +03:00
Mahmoud-Emad
ba48ae255b refactor: Update example generation and schema handling
- Remove unused `generate_example_call` and `generate_example_response` functions
- Rename `example_call` to `example_request` in `DocMethod`
- Update schema example extraction to use `schema.example` directly
- Introduce `generate_request_example` and `generate_response_example` for dynamic example generation
- Change type of `id` from string to number in schema examples

PS: The work is still in progress
2025-09-22 14:58:22 +03:00
Mahmoud-Emad
e4101351aa feat: generate dynamic API docs from OpenRPC spec
- Implement dynamic doc generation from OpenRPC methods
- Generate example calls and responses from schemas
- Improve OpenRPC and JSON Schema decoders for full parsing
- Add example value generation based on schema type
- Add tests for schema decoding with examples
2025-09-17 17:50:43 +03:00
59cf09f73a ... 2025-09-17 07:49:27 +02:00
6a02a45474 .. 2025-09-14 18:25:45 +02:00
d0baac83a9 ... 2025-05-31 16:02:52 +03:00
3ef1698c2c ... 2025-05-25 06:44:51 +04:00
a7fb704627 ... 2025-05-25 06:30:48 +04:00
Timur Gordon
86d47c218b vcode and baobab mcps enhancements 2025-03-28 19:47:26 +01:00
598b312140 ... 2025-03-24 06:44:39 +01:00
Timur Gordon
133e7c9809 Merge branch 'development' into 6-openrpc-code-generator 2025-03-16 19:15:04 +01:00
Timur Gordon
269d0474c5 add refactored schemas modules from 6-openrpc-code-generator branch 2025-03-13 12:41:35 +01:00
timurgordon
776942cd8b generic code generation improvements 2025-02-13 02:31:59 +03:00
timurgordon
80254739b0 better openapi schema support 2025-02-11 17:10:00 +03:00
timurgordon
7e8a4c5c45 fix schemas to better support code generation 2025-02-01 11:56:36 +03:00
timurgordon
09ed341b97 openapi typescript client generation implementation 2025-01-30 04:53:55 +03:00
timurgordon
5cb30e6783 openapi json model, processing & parsing fixes 2025-01-30 04:53:08 +03:00
timurgordon
eef88b5375 better support for parsing generating numeric types 2025-01-21 02:30:38 +00:00
timurgordon
8b9717bb74 implement openrpc & openapi examples support 2025-01-21 02:29:23 +00:00
timurgordon
038c563843 openrpc to actor spec base object fixes 2025-01-08 02:20:52 -05:00
timurgordon
4733e05c58 fix object type parsing from jsonschema, and type code generation 2025-01-08 02:17:58 -05:00
timurgordon
7bc4da97ab port schema modules from crystallib 2025-01-02 01:40:01 -05:00