summaryrefslogtreecommitdiffstats
path: root/python/codegen_python_client.sh
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-13 12:45:22 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-13 12:47:01 -0800
commitd14e86155fc0ae718954871f7adb59e415d98602 (patch)
tree91600a536d163f83c6496960612603f39d75623b /python/codegen_python_client.sh
parente8a2925394f4cce0b8b4514f58d2bd19f9d7490b (diff)
downloadfatcat-d14e86155fc0ae718954871f7adb59e415d98602.tar.gz
fatcat-d14e86155fc0ae718954871f7adb59e415d98602.zip
set default host in swagger spec to api.fatcat.wiki
Diffstat (limited to 'python/codegen_python_client.sh')
-rwxr-xr-xpython/codegen_python_client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/codegen_python_client.sh b/python/codegen_python_client.sh
index 7cc7aa63..4c146f3f 100755
--- a/python/codegen_python_client.sh
+++ b/python/codegen_python_client.sh
@@ -6,7 +6,7 @@ set -o pipefail
OUTPUT=`pwd`/codegen-out
mkdir -p $OUTPUT
# Strip tags, so entire API is under a single class
-cat ../fatcat-openapi2.yml | grep -v "TAGLINE$" | sed 's/\[https\]/\[http\]/g' > $OUTPUT/api.yml
+cat ../fatcat-openapi2.yml | grep -v "TAGLINE$" > $OUTPUT/api.yml
docker run \
-v $OUTPUT:/tmp/swagger/ \