Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 573 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 573 Bytes

circleci-go-sdk

(Unofficial) Go SDK for CircleCI V2 API

The code here is auto-generated via go-swagger and the openapi.yaml (Swagger 2.0) API definition.

# Assumes you have go-swagger installed outside of this project.
# See https://goswagger.io/install.html#installing-from-binary-distributions
$ swagger generate client -f ./openapi.yaml -A circleci

$ go mod tidy

Validating

# (optional) install swagger-cli
# see https://apitools.dev/swagger-cli/
$ npm install -g @apidevtools/swagger-cli

$ swagger-cli validate ./openapi.yaml