From e3b9297a30a077c130bcf38c0bb6c04d67eb65e2 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Tue, 8 Feb 2022 15:42:03 +0100 Subject: [PATCH] feat: generate openapi 3.0 client for oathkeeper (#146) --- scripts/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate.sh b/scripts/generate.sh index ee34d3306fd..d34002a7ea6 100755 --- a/scripts/generate.sh +++ b/scripts/generate.sh @@ -198,7 +198,7 @@ golang () { mkdir -p "${dir}" (cd "${dir}"; rm go.mod go.sum || true; go mod init "github.com/ory/${PROJECT}-client-go") - if [ $project != "kratos" ] && [ $project != "client" ]; then + if [ $project != "kratos" ] && [ $project != "client" ] && [ $project != "oathkeeper" ]; then swagger generate client --allow-template-override -f "${SPEC_FILE}" -t "${dir}" -A "Ory_${PROJECT_UCF}" else openapi-generator-cli version-manager set 5.4.0