Categorygithub.com/harness/harness-openapi-go-client
repositorypackage
0.0.21
Repository: https://github.com/harness/harness-openapi-go-client.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

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]