Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.06 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.06 KB

Go API client

This is the Open Api Spec 3 for the Harness APIs. This is under active development. Beware of the breaking change with respect to the generated code stub

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client. This client used specification present here

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Steps to run GO client

Updated main.go by replacing with Harness account value and with x-api-key generated for same account. Also call any function (i.e swaggerCodeGenGetOrgs(), swaggerCodeGenGetAccountScopedSecret(), swaggerCodeGenGetAccountScopedSecrets() ) in main function and run

go mod tidy
go build . 
go run main.go

Author

[email protected]