summaryrefslogtreecommitdiff
path: root/get_api.sh
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-08-19 13:45:52 +0200
committerBotond Hende <nettingman@gmail.com>2024-08-19 13:45:52 +0200
commitf888a02ed4a5b715557f679571e3bbb8ad9c0f17 (patch)
treeb5be3075a5fffdaa6bff66a5a9f8ea956f53438e /get_api.sh
parent8b94eeb4d00801b6017afa3a93d7351772c3baf6 (diff)
fixed module installation
Diffstat (limited to 'get_api.sh')
-rwxr-xr-xget_api.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/get_api.sh b/get_api.sh
deleted file mode 100755
index 1d36812..0000000
--- a/get_api.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash -eu
-
-wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.7.0/openapi-generator-cli-7.7.0.jar -O openapi-generator-cli.jar
-
-java -jar openapi-generator-cli.jar generate -g python -v -i "https://stoplight.io/api/v1/projects/spacetraders/spacetraders/nodes/reference/SpaceTraders.json?fromExportButton=true&snapshotType=http_service&deref=optimizedBundle" -o spacetraders-sdk
-
-mkdir -p modules
-
-ln -sf spacetraders-sdk/openapi_client modules/spacetraders
-
-rm openapi-generator-cli.jar