Skip to content

Conversation

@mattcoulter7
Copy link
Member

No description provided.

Replaces service and api_config generation with new sync_client, async_client, and exceptions modules using Jinja2 templates. Removes the obsolete api_config_generator, updates generator logic and models, and adds new templates for client and exception code generation. Updates __init__.py export logic to include generated client modules.
Replaces the 'services' module with a 'clients' module for generated client code, and moves exception handling to a separate 'exceptions.py' at the package root. Updates code generation logic, templates, and model definitions to support this new structure, improving clarity and modularity of generated packages.
…ates

This commit removes legacy service and HTTP client templates, introduces a dedicated exception_generator module, and updates the codebase to generate exceptions as a separate package module. The ConversionResult model now supports multiple exception modules, and the output structure is updated to place exceptions in their own subpackage. Unused or redundant templates and code paths are removed for clarity and maintainability.
Update project version in pyproject.toml from 2.1.4 to 2.2.0.
Deleted the entire tests/regression directory and test_api_config.py, removing regression and API config tests. Updated test_generate_data.py to check for 'clients' and 'exceptions' directories instead of 'services' and 'api_config.py'. Marked test_service_generator.py and test_service_generator_edges.py as skipped due to the removal of service_generator, reflecting the migration of services to client classes.
@mattcoulter7 mattcoulter7 merged commit c9b2465 into main Jan 13, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant