Skip to content

Commit

Permalink
feat: generate openapi 3.0 client for oathkeeper (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Feb 8, 2022
1 parent 5f8fa9f commit e3b9297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3b9297

Please sign in to comment.