summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-12 22:45:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-12 22:45:57 -0800
commita877b09a6beda83c86e4d4c4747589ec19f35665 (patch)
treeb56b74faa4f92657aff97340c4091e9dce321b41 /python
parentc5514958a8d339dd8abdcc0f5579adc158068659 (diff)
downloadfatcat-a877b09a6beda83c86e4d4c4747589ec19f35665.tar.gz
fatcat-a877b09a6beda83c86e4d4c4747589ec19f35665.zip
switch to HTTPS in schema def
But rewrite to http for python codegen.
Diffstat (limited to 'python')
-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 4cd30c44..f99986bb 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$" > $OUTPUT/api.yml
+cat ../fatcat-openapi2.yml | grep -v "TAGLINE$" | sed 's/\[https\]/\[http\]/g' > $OUTPUT/api.yml
docker run \
-v $OUTPUT:/tmp/swagger/ \