Skip to content

Commit

Permalink
add reflection-equality config option
Browse files Browse the repository at this point in the history
  • Loading branch information
yue9944882 committed Jun 20, 2019
1 parent 254fab0 commit 045716c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openapi/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ popd > /dev/null
source "${SCRIPT_ROOT}/openapi-generator/client-generator.sh"
source "${SETTING_FILE}"

OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-v3.3.4}" \
OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-v4.0.0}" \
CLIENT_LANGUAGE=java; \
CLEANUP_DIRS=(docs src/test/java/io/kubernetes/client/apis src/main/java/io/kubernetes/client/apis src/main/java/io/kubernetes/client/models src/main/java/io/kubernetes/client/auth gradle); \
kubeclient::generator::generate_client "${OUTPUT_DIR}"
6 changes: 4 additions & 2 deletions openapi/java.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<project
xmlns="http://maven.apache.org/POM/4.0.0"
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.kubernetes</groupId>
Expand All @@ -23,6 +23,7 @@
<language>java</language>
<gitUserId>kubernetes-client</gitUserId>
<gitRepoId>client-java</gitRepoId>
<skipValidateSpec>true</skipValidateSpec>
<configOptions>
<projectName>kubernetes-java-client</projectName>
<projectDescription>Java client for Kubernetes.</projectDescription>
Expand All @@ -44,6 +45,7 @@
<dateLibrary>joda</dateLibrary>
<useRxJava>false</useRxJava>
<library>okhttp-gson</library>
<useReflectionEqualsHashCode>true</useReflectionEqualsHashCode>
<type-mappings>intstr.IntOrString=IntOrString,resource.Quantity=Quantity</type-mappings>
<import-mappings>IntOrString=io.kubernetes.client.custom.IntOrString,Quantity=io.kubernetes.client.custom.Quantity</import-mappings>
</configOptions>
Expand Down

0 comments on commit 045716c

Please sign in to comment.