Skip to content

Commit

Permalink
Upgrade openapi-codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Feb 26, 2025
1 parent 7afde6b commit 4f24033
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions regen_openapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eo pipefail

OPENAPI_GIT_REV='98dbc5b090a5c8d72fe50962ee04b46fb9d7db20'
OPENAPI_GIT_REV='272125558d6ac4718bdc87b1652e5d4122b69f19'

if [ -n "$1" ]; then
curl "$1" | python -m json.tool > lib-openapi.json
Expand Down Expand Up @@ -34,11 +34,6 @@ fi

# Remove APIs we may not (yet) want to expose
rm rust/src/api/{environment,health}.rs

# Remove .codegen.json files, its purpose is fulfilled already:
# - The expected git rev of the tool is encoded at the top of this file.
# - The lib-openapi.json used as input is also committed to this repo.
rm rust/src/{api,models}/.codegen.json
)

cd $(dirname "$0")
Expand Down

0 comments on commit 4f24033

Please sign in to comment.