This repository is part of the SDK-Fabric project, an open infrastructure designed to automatically generate and maintain client SDKs across multiple programming languages.
This repository serves as the single source of truth for all client SDK specifications.
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────────┐
│ Edit Spec in │ ───> │ Sync Spec to │ ───> │ Trigger Code Gen on │
│ ./targets/*.json│ │ TypeHub Platform│ │ Language Repositories │
└─────────────────┘ └─────────────────┘ └─────────────────────────┘
- Edit Specification: Modify or add a specification file under the
./targets/directory. - TypeHub Synchronization: A GitHub Action automatically syncs changes to the TypeHub platform.
- Automated Generation: TypeHub detects the changes and triggers targeted workflow actions across all language repositories to regenerate the SDK code.
When an update is pushed to ./targets/openai.json:
- The specification is published to TypeHub (
sdkfabric/openai). - TypeHub triggers build workflows across the individual language repositories:
Every week, TypeHub automatically creates a release tag if changes have been detected. This tag triggers a Git tag in each language repository, which automatically publishes the updated packages to their respective package managers (e.g., Packagist, npm, PyPI, NuGet, Go modules, Maven).
We welcome contributions! You can help by fixing existing specifications or adding support for new APIs.
- Fork this repository and create a new branch.
- Add your specification JSON file inside
./targets/(e.g.,./targets/my-api.json). - Ensure the spec conforms to the required specification format.
- Submit a Pull Request.
Tip: You can use AI tools or schema converters to kickstart your specification from an existing OpenAPI definition or API documentation.
This project is licensed under the MIT License.