This sample SDK is based on a OpenAPI generator, this generator reads an Open API file to create the SDK. The Swagger is generated using the Swagger Generator for a Golang server (using Echo)
This sample SDK is the simple path to an SDK but is possible to improve this sample to handle any issues, like authentication, API throttling, and others.
NOTE: The generator is uses Mustache to create SDK. This can be made in any language using the same concept whit required improvements.
sdk_consumer
: use thesdk_ts
to talk whit the serversdk_ts
: the Typescript SDK (NPM to operate)server
: the golang server (Makefile to operate)
Docker news versions that support docker compose.
The client will call the server and print the output on terminal 5 times, every 3 seconds.
docker compose up
docker compose down