From 8582369d12bf22d0160a12898ab8b1487127c554 Mon Sep 17 00:00:00 2001 From: Matt McClellan Date: Thu, 14 Sep 2023 08:43:51 -0500 Subject: [PATCH] Fix an issue where template was still using javax even when jakarta was enabled --- .../swagger-codegen/src/main/resources/Java/model.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/Java/model.mustache b/modules/swagger-codegen/src/main/resources/Java/model.mustache index b4a1840e0e9..b96e7342197 100644 --- a/modules/swagger-codegen/src/main/resources/Java/model.mustache +++ b/modules/swagger-codegen/src/main/resources/Java/model.mustache @@ -29,8 +29,8 @@ import android.os.Parcel; {{/parcelableModel}} {{#useBeanValidation}} {{#jakarta}} -import javax.validation.constraints.*; -import javax.validation.Valid; +import jakarta.validation.constraints.*; +import jakarta.validation.Valid; {{/jakarta}} {{^jakarta}} import javax.validation.constraints.*;