Sha256: 71d8e26b97b5c92f0426ff8214b957c72bda112a90fa1c9af3573699ba248f96

Contents?: true

Size: 827 Bytes

Versions: 3

Compression:

Stored size: 827 Bytes

Contents

#!/usr/bin/env sh

echo "Version Number?"
read version_number
echo ">>> Generating files for version $version_number..."

## DOCKER swagger-codegen
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate \
  --input-spec=https://esi.tech.ccp.is/_latest/swagger.json?datasource=tranquility \
  --lang=ruby \
  -D gemName=esi_client,moduleName=ESIClient,gemVersion=$version_number \
  --git-repo-id esi_client \
  --git-user-id EmberSands \
  --output=/local/.

## Local swagger-codegen
# swagger-codegen generate \
#   --input-spec=https://esi.tech.ccp.is/_latest/swagger.json?datasource=tranquility \
#   --lang=ruby \
#   -D gemName=esi_client,moduleName=ESIClient,gemVersion=$version_number \
#   --git-repo-id esi_client \
#   --git-user-id EmberSands \
#   --output=.

echo ">>> File generation complete."

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esi_client-0.8.5.0 bin/regenerate
esi_client-0.7.6.1 bin/regenerate
esi_client-1.4.0 bin/regenerate