kelvintaywl / circleci-go-sdk

(unofficial) Go SDK for CircleCI V2 API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

(unofficial) Go SDK for CircleCI V2 API

License:Creative Commons Zero v1.0 Universal