This PR proposes a major update of the SDK generator by migrating from swagger-codegen to OpenAPI Generator, while maintaining compatibility with the existing SDK structure.
Main changes:
Migration from swagger-codegen to OpenAPI Generator
PHP 8.1 support
Addition of OpenAPI Generator configuration file (config-openapi-generator.yml)
Creation of custom templates to maintain consistency with previously generated code
Update of API models and endpoints
Technical benefits:
Generated code modernization
Full PHP 8.1 support
Better strict type handling
Cleaner and better documented code
Improved maintenance
Centralized configuration in config-openapi-generator.yml
Custom templates for better generated code control
Description
This PR proposes a major update of the SDK generator by migrating from swagger-codegen to OpenAPI Generator, while maintaining compatibility with the existing SDK structure.
Main changes:
config-openapi-generator.yml
)Technical benefits:
Generated code modernization
Improved maintenance
config-openapi-generator.yml
Best practices
How to test
To generate the SDK with the new configuration:
Migration notes
Checklist