summaryrefslogtreecommitdiffstats
path: root/golang/regen.sh
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-26 16:42:17 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-26 16:42:19 -0700
commit82f8b4d838de3fb8eda5db9b23c5bc48ab281f9e (patch)
tree2b684049829c72fbdd4289535b18a19b884f377b /golang/regen.sh
parent9b3e52e813bbd9dc9b1771ca2c63e33d93048e97 (diff)
downloadfatcat-82f8b4d838de3fb8eda5db9b23c5bc48ab281f9e.tar.gz
fatcat-82f8b4d838de3fb8eda5db9b23c5bc48ab281f9e.zip
remove golang API server
Not following that path; this is to prevent future confusion. All code is still in version control.
Diffstat (limited to 'golang/regen.sh')
-rwxr-xr-xgolang/regen.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/golang/regen.sh b/golang/regen.sh
deleted file mode 100755
index 366314a0..00000000
--- a/golang/regen.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-set -xeo pipefail
-
-cat fatcat-openapi2.yml | python3 -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' > fatcat-openapi2.json
-swagger generate server -A fatcat -f ./fatcat-openapi2.json --exclude-main -t gen
-rm fatcat-openapi2.json