This repository contains the OpenAPI specifications for SHI International Corp's APIs. These specifications define the structure and behavior of our APIs, enabling seamless integration and interaction between different services within the SHI ecosystem.
.
├── specs/ # Raw OpenAPI specification files (JSON format)
├── src/
│ ├── dataGateway/ # Source code and SDK for Data Gateway
│ └── shield/ # Source code and SDK for SHIELD
└── .github/workflows/ # CI/CD workflows for validation and SDK generation
-
specs/: Contains raw OpenAPI specification files in JSON format. These files serve as the source of truth for our APIs and are used to automatically generate SDKs. -
src/: Contains SDK implementations automatically generated from the OpenAPI specifications using Kiota.
The raw OpenAPI specification files are located in the specs folder.
All specifications are provided in JSON format.
We provide SDK packages generated from these specifications, available on npm:
You can install these packages using npm:
npm install @shi-corp/sdk-data-gatewayor
npm install @shi-corp/sdk-shieldOur packages are cryptographically attested upon publishing, ensuring higher security assurance.
To regenerate SDKs from the OpenAPI specifications, use the provided scripts in each SDK's directory:
npm run-script generate:SdkAll SDK packages published by SHI International Corp. are cryptographically attested during the publishing process. This ensures the integrity and authenticity of the packages you consume.
To contribute to the specifications or SDKs:
- Fork the repository and create a new branch for your changes.
- Make the necessary modifications to the API specifications or SDK generation scripts.
- Submit a pull request detailing the changes made and the rationale behind them.