From 4504739d96dbaaa41773431c9476f4281b412b1c Mon Sep 17 00:00:00 2001 From: Karl von Randow Date: Tue, 17 Sep 2024 12:47:00 +1200 Subject: [PATCH] java: Add missing @Generated annotation to API params classes --- .changeset/seven-kangaroos-deny.md | 5 +++++ packages/java-jaxrs-common/templates/apiParams.hbs | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/seven-kangaroos-deny.md diff --git a/.changeset/seven-kangaroos-deny.md b/.changeset/seven-kangaroos-deny.md new file mode 100644 index 00000000..2d111160 --- /dev/null +++ b/.changeset/seven-kangaroos-deny.md @@ -0,0 +1,5 @@ +--- +"@openapi-generator-plus/java-jaxrs-generator-common": patch +--- + +Add missing @Generated annotation to API params classes diff --git a/packages/java-jaxrs-common/templates/apiParams.hbs b/packages/java-jaxrs-common/templates/apiParams.hbs index 720a6762..ee9d2044 100644 --- a/packages/java-jaxrs-common/templates/apiParams.hbs +++ b/packages/java-jaxrs-common/templates/apiParams.hbs @@ -1,5 +1,6 @@ package {{{apiParamsPackage}}}; +{{>generatedAnnotation}} {{#if @root.useLombok}} @lombok.Getter @lombok.Setter