Skip to content

Commit

Permalink
chore: update oapi-codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Aug 30, 2024
1 parent a4e8ba2 commit 0cb60da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions go/discovery_kit_api/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash

#
# Copyright 2024 steadybit GmbH. All rights reserved.
#

set -eo pipefail

go install github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@v2.1.0
oapi-codegen -config generator-config.yml ../../openapi/spec.yml > discovery_kit_api.go
go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0
oapi-codegen -config generator-config.yml -o discovery_kit_api.go ../../openapi/spec.yml
5 changes: 4 additions & 1 deletion go/discovery_kit_api/discovery_kit_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0cb60da

Please sign in to comment.