summaryrefslogtreecommitdiffstats
path: root/codegen_openapi.sh
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-09 19:00:59 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-09 19:00:59 -0800
commit3745d1a550fa3fe15255e9493035279ad36bd009 (patch)
tree71253c2913bc23748f02ded6f794ae84978b48ba /codegen_openapi.sh
parent19c582a3cf1c42e9c75170650ccd141eda903479 (diff)
downloadfatcat-cli-3745d1a550fa3fe15255e9493035279ad36bd009.tar.gz
fatcat-cli-3745d1a550fa3fe15255e9493035279ad36bd009.zip
update scripts for top-level directory
Diffstat (limited to 'codegen_openapi.sh')
-rwxr-xr-xcodegen_openapi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen_openapi.sh b/codegen_openapi.sh
index 5c14a95..94a5457 100755
--- a/codegen_openapi.sh
+++ b/codegen_openapi.sh
@@ -6,7 +6,7 @@ set -o pipefail
echo "Running openapi-generator..."
OUTPUT=`pwd`/fatcat-openapi
mkdir -p $OUTPUT
-cat ../fatcat-openapi3.yml | grep -v "TAGLINE$" | perl -0777 -pe "s/<\!-- STARTLONGDESCRIPTION -->.*<\!-- ENDLONGDESCRIPTION -->//s" > $OUTPUT/api.yaml
+cat ./fatcat-openapi3.yml | grep -v "TAGLINE$" | perl -0777 -pe "s/<\!-- STARTLONGDESCRIPTION -->.*<\!-- ENDLONGDESCRIPTION -->//s" > $OUTPUT/api.yaml
export OPENAPI_GENERATOR_VERSION=5.0.0
./openapi-generator-cli.sh \