From edd91063b4a8c17e7d4fbb64fef1850fdaf26b86 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Wed, 10 Apr 2024 02:33:01 +0800 Subject: [PATCH] hide generation timestamp in java microprofile samples --- .../java-microprofile-rest-client-3.0-jackson-with-xml.yaml | 3 ++- bin/configs/java-microprofile-rest-client-3.0-jackson.yaml | 3 ++- .../main/java/org/openapitools/client/RFC3339DateFormat.java | 2 +- .../main/java/org/openapitools/client/RFC3339DateFormat.java | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/configs/java-microprofile-rest-client-3.0-jackson-with-xml.yaml b/bin/configs/java-microprofile-rest-client-3.0-jackson-with-xml.yaml index af31232ee24..8dc08e4a4bb 100644 --- a/bin/configs/java-microprofile-rest-client-3.0-jackson-with-xml.yaml +++ b/bin/configs/java-microprofile-rest-client-3.0-jackson-with-xml.yaml @@ -8,4 +8,5 @@ additionalProperties: serializationLibrary: jackson artifactId: microprofile-rest-client-3-jackson-with-xml configKey: petstore - microprofileRestClientVersion: "3.0" \ No newline at end of file + microprofileRestClientVersion: "3.0" + hideGenerationTimestamp: true diff --git a/bin/configs/java-microprofile-rest-client-3.0-jackson.yaml b/bin/configs/java-microprofile-rest-client-3.0-jackson.yaml index 92d945a3cb9..06d0814d2f4 100644 --- a/bin/configs/java-microprofile-rest-client-3.0-jackson.yaml +++ b/bin/configs/java-microprofile-rest-client-3.0-jackson.yaml @@ -7,4 +7,5 @@ additionalProperties: serializationLibrary: jackson artifactId: microprofile-rest-client-3-jackson configKey: petstore - microprofileRestClientVersion: "3.0" \ No newline at end of file + microprofileRestClientVersion: "3.0" + hideGenerationTimestamp: true diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 38873e50362..2fe982340a0 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,7 +22,7 @@ import java.text.DecimalFormat; import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-09T12:47:38.548062100Z[UTC]", comments = "Generator version: 7.5.0-SNAPSHOT") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.5.0-SNAPSHOT") public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 69171b9f8fc..2fe982340a0 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,7 +22,7 @@ import java.text.DecimalFormat; import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-09T12:47:39.283968500Z[UTC]", comments = "Generator version: 7.5.0-SNAPSHOT") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.5.0-SNAPSHOT") public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");