Files
influx-cli/api/extras
Sam Arnold 714a73d9eb feat: all-access and operator token from CLI (#285)
* chore: include enum values in openapi generated code

* chore: add enum template to list of template overrides

* chore: update template and generated code

* feat: generate permissions list from openapi spec

* feat: all-access and operator token from CLI

Closes #22510

* fix: cloud fixed the resources endpoint

* fix: all access and operator permissions cannot be composed

* fix: review comments from dan-moran
2021-10-05 14:33:02 -04:00
..

Influx CLI - extra files supporting HTTP client

The .go files in this module are generated using OpenAPITools/openapi-generator, based off of our public API documentation.

See https://github.com/OpenAPITools/openapi-generator/issues/2360 - enums are not generated by default if they are defined inline. Even if they were generated by default, there appears to be no way to turn off the validation, which would be bad if the client started receiving new string values that were unrecognized (using an old client with a newer InfluxDB instance).

So the go files in this directory are generated from some enums where we want to know the list of 'known' valid values, but we don't want to always validate on marshal/unmarshal.