summaryrefslogtreecommitdiffstats
path: root/rust/codegen_openapi2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rust/codegen_openapi2.sh')
-rwxr-xr-xrust/codegen_openapi2.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/codegen_openapi2.sh b/rust/codegen_openapi2.sh
new file mode 100755
index 00000000..e003ff39
--- /dev/null
+++ b/rust/codegen_openapi2.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cargo swagger fatcat-openapi2.yml fatcat-api --docker-tag=v2.3.1
+sudo chown `whoami`:`whoami` -R fatcat-api
+git checkout fatcat-api/Cargo.toml
+cargo fmt