feat(api): improve codegen outputs (#41)
* Use `[]byte` for generated request bodies when the source schema has `format: byte` * Gzip-compress request bodies when `Content-Encoding: gzip` is set * Require that all models returned as error conditions in our API implement the `error` interface * Move the implementation for `api.HealthCheck` out of `ping.go` and into `api/error.go` Co-authored-by: William Baker <55118525+wbaker85@users.noreply.github.com>
This commit is contained in:
@ -24,5 +24,5 @@ docker run --rm -it -u "$(id -u):$(id -g)" \
|
||||
|
||||
# Clean up the generated code.
|
||||
cd "${ROOT_DIR}"
|
||||
make fmt
|
||||
>/dev/null make fmt
|
||||
)
|
||||
|
Reference in New Issue
Block a user