From 0cb60da919e0e9420e7ed7b91d10c5730b10768a Mon Sep 17 00:00:00 2001 From: Johannes Edmeier Date: Fri, 30 Aug 2024 08:56:45 +0200 Subject: [PATCH] chore: update oapi-codegen --- go/discovery_kit_api/build.sh | 8 ++++++-- go/discovery_kit_api/discovery_kit_api.go | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/go/discovery_kit_api/build.sh b/go/discovery_kit_api/build.sh index 62691c7..7847051 100755 --- a/go/discovery_kit_api/build.sh +++ b/go/discovery_kit_api/build.sh @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/go/discovery_kit_api/discovery_kit_api.go b/go/discovery_kit_api/discovery_kit_api.go index 81bb02b..43f97d6 100644 --- a/go/discovery_kit_api/discovery_kit_api.go +++ b/go/discovery_kit_api/discovery_kit_api.go @@ -1,6 +1,9 @@ +// SPDX-License-Identifier: MIT +// SPDX-FileCopyrightText: 2024 Steadybit GmbH + // Package discovery_kit_api provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT. +// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT. package discovery_kit_api import (