Merge pull request #45 from guoshimin/new-swagger-codegen

[haskell] Using the latest swagger-codegen from the 2.4.0 branch.
This commit is contained in:
Mehdy Bohlool
2018-01-11 14:13:19 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
<configOptions>
<packageName>${generator.package.name}</packageName>
<packageVersion>${generator.client.version}</packageVersion>
<allowNonUniqueOperationIds>true</allowNonUniqueOperationIds>
</configOptions>
</configuration>
</execution>

View File

@@ -44,7 +44,8 @@ popd > /dev/null
source "${SCRIPT_ROOT}/client-generator.sh"
source "${SETTING_FILE}"
SWAGGER_CODEGEN_COMMIT=5b76151a874009605f5ac5d4e6dc1aaa389339ed; \
# HEAD of the 2.4.0 branch as of Jan 10, 2018.
SWAGGER_CODEGEN_COMMIT=3930b5b0a109327b94baad0b8d1eaf25f11ee035; \
CLIENT_LANGUAGE=haskell-http-client; \
CLEANUP_DIRS=(lib); \
kubeclient::generator::generate_client "${OUTPUT_DIR}"