Refactor code structure for improved readability and maintainability

This commit is contained in:
claudi 2026-04-07 09:10:53 +02:00
parent 389d72a136
commit aa4c067ea8
1685 changed files with 393439 additions and 71932 deletions

View file

@ -5,10 +5,12 @@ This workspace contains a Python-first eBay REST client foundation with:
- a shared OAuth 2.0 core
- a shared HTTP transport layer
- public API wrappers per eBay REST domain
- an isolated OpenAPI generation script for each contract in this folder
- an isolated Pydantic model generation script for each contract in this folder
## Generate Low-Level Clients
The project uses a dedicated code generation environment because the main runtime is currently on Python 3.14 while the model generator still targets earlier Python versions.
Run the generator script from the project root:
```powershell
@ -20,3 +22,5 @@ To generate only one API package:
```powershell
& .\.venv\Scripts\python.exe .\scripts\generate_clients.py --api notification
```
This regenerates Pydantic v2 models into `ebay_client/generated/<api>/models.py`.