This repository implements the automatic generation of client libraries to access STACKIT APIs. It is based on the OpenAPI Generator. The process' input are the REST API specs in the OpenAPI Specification format (OAS), which are stored in STACKIT API specifications.
Currently only generation of Go libraries are supported. The output is stored in the STACKIT GO SDK repo.
If you want to modify script or templates and you can run code locally.
Requires Go 1.20
or higher.
- Set up the project and tools by running
make project-tools
- Download Open Api Specifications (OAS), that are the input for the SDK generation, by running
This step needs to be done only at the first start and when OAS updates are present.
make download-oas
- Run the SDK generation for testing by
The output goes to the
make generate-sdk
./sdk
folder.
If you encounter any issues or have suggestions for improvements, please open an issue in the repository.
Your contribution is welcome! Please create a pull request (PR). The STACKIT Developer Tools team will review it. A more detailed contribution guideline is planned to come.
Apache 2.0