9 Commits

Author SHA1 Message Date
Dane Strandboge
35279515e9
build: upgrade to Go 1.18.1 (#373) 2022-04-13 15:50:35 -05:00
William Baker
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
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
Daniel Moran
93d628dd04
fix: correct mismatches between template-apply spec and impl (#157) 2021-06-29 09:38:03 -04:00
Daniel Moran
7ea63d6a96
fix: add yaml tags to models so we can unmarshal camelCase (#148) 2021-06-28 10:18:41 -04:00
Daniel Moran
0acb80b044
refactor: use io.ReadCloser instead of **os.File for binary request params (#119) 2021-06-11 17:35:01 -04:00
Daniel Moran
b1ba53bae2
refactor: move request-compression out of codegen, avoid some buffering (#118) 2021-06-11 16:01:34 -04:00
Daniel Moran
a387cabcfb
refactor: return full HTTP response for binary response bodies (#112) 2021-06-10 11:20:33 -04:00
Sam Arnold
9747d05ae1
refactor: expose generated code and client business logic to share with Kapacitor (#103)
* refactor: take clients out of internal

* refactor: move stdio to pkg

* Move internal/api to api

* refactor: final changes for Kapacitor to access shared functionality

* chore: regenerate mocks

* fix: bad automated refactor

* chore: extra formatting not caught by make fmt
2021-05-25 10:05:01 -04:00