7af0b2ae73
feat: enhanced error messages for cloud and oss specific commands ( #347 )
...
* feat: enhanced error messages for cloud and oss specific commands
* chore: rename test
2021-12-28 10:03:29 -05:00
4c0fae3a4c
feat: add ExecuteWithHttpInfo methods for generated API ( #336 )
...
* feat: add `ExecuteWithHttpInfo` methods for generated API
* chore: update templates README
* chore: update comment to explain usage of response body
* chore: update template README
* chore: fix formatting
2021-11-29 15:42:29 -06:00
e609d4462d
fix: update openapi and regenerate to pull in fix for replications API ( #280 )
2021-09-23 15:04:08 -04:00
13799e7662
refactor: use updated API in restore client ( #226 )
2021-08-13 13:50:02 -04:00
d615694ee9
refactor: replace uses of ioutil
with io
and os
( #223 )
2021-08-04 14:45:22 -04:00
c3feea5900
feat: update restore
to support InfluxDB 2.0.x ( #185 )
2021-07-09 15:36:44 -04:00
4452aac87d
feat: update codegen to include legacy backup/restore routes ( #182 )
2021-07-08 14:00:42 -04:00
d7b2983dd4
fix: cloud or oss only error msg for parsable responses ( #165 )
...
* fix: cloud or oss only error msg for parsable responses
* fix: add code text to error message
* fix: keep the last part of the error msg
* chore: make the error code a little more succinct
* fix: corrected errors for non-server specific commands
* chore: sync openapi submodule with main
2021-06-30 12:37:31 -04:00
d519890f03
feat: improved error messages for cloud- or oss-only commands ( #140 )
...
* feat: set logging info for cloud- or oss-only commands
* fix: add cloud-only to BucketSchemasApi
* fix: api-only flagging and %w for return error wrapping
* fix: keep the model assignment
2021-06-23 10:41:35 -04:00
abe521add0
feat: reimplement influx telegrafs
with new APIs ( #120 )
...
* feat: reimplement `influx telegrafs` with new APIs
* chore: restructure structs for later modification
* refactor: bump openapi & regenerate clients
* refactor: better error output and descriptions
Co-authored-by: Dan Moran <dmoran@influxdata.com >
2021-06-15 14:55:04 -05:00
0acb80b044
refactor: use io.ReadCloser instead of **os.File for binary request params ( #119 )
2021-06-11 17:35:01 -04:00
a387cabcfb
refactor: return full HTTP response for binary response bodies ( #112 )
2021-06-10 11:20:33 -04:00
a1cf15d971
refactor: codegen backup and restore APIs ( #107 )
2021-06-02 16:19:36 -04:00