# README
Spring Cloud DataFlow - Go SDK
This is a go SDK for Spring Cloud DataFlow's Open API generated by Kiota
Use
go get github.com/denniskniep/spring-cloud-dataflow-sdk-go/[email protected]
(Re-) Generate
- Extract OpenAPI Specification from Spring Cloud DataFlow (
http://localhost:9393/v3/api-docs
) by starting docker-compose setup with following extra environment variables indata-flow-server
:
SPRINGDOC_API_DOCS_ENABLED=True
SPRINGDOC_SWAGGER_UI_ENABLED=True
-
Insert extracted OpenAPI Specification into file
./dataflow-api.yml
-
Install kiota binaries: https://learn.microsoft.com/en-us/openapi/kiota/install?tabs=bash#download-binaries
-
Run Code generation
kiota generate -l go -c DataFlowClient -n github.com/denniskniep/spring-cloud-dataflow-sdk-go/v2/client -d ./dataflow-api.yml -o ./client
- tidy, compile and test
go mod tidy
go test ./...
- Commit and Push
Other
Created by following this Guide
# Packages
No description provided by the author