This repository contains a Go API client for the Datadog API. The code is generated using openapi-generator and apigentools.
This repository contains per-major-version API client packages. Right
now, Datadog only has one API version - v1 - so that is the only module present. If/when
there is another version of the API, we will add a different package for it. The end goal is
to be able to use API clients for different major versions of the API side-by-side.
The client library for Datadog API v1 is located in the api/v1/datadog directory. Import it with
import "github.com/DataDog/datadog-api-client-go/api/v1/datadog"All the documentation for this package is available through api/v1/datadog/README.md.
As most of the code in this repository is generated, we will only accept PRs for files that are not modified by our code-generation machinery (changes to the generated files would get overwritten). We happily accept contributions to files that are listed in:
v1/.openapi-generator-ignore
as well as tests files:
v1/*_tests.go