From 1eb2774bb99dbf841cfb0c08f6baa44e4a7d1fee Mon Sep 17 00:00:00 2001 From: frantuma Date: Mon, 6 Jan 2025 15:27:16 +0100 Subject: [PATCH] fix openAPI version parameter in gradle plugin --- .../java/io/swagger/v3/plugins/gradle/tasks/ResolveTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/tasks/ResolveTask.java b/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/tasks/ResolveTask.java index 07f812b564..b6b11c3198 100644 --- a/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/tasks/ResolveTask.java +++ b/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/tasks/ResolveTask.java @@ -131,7 +131,7 @@ public enum Format {JSON, YAML, JSONANDYAML} @Input @Optional - private String openAPIVersion; + private Property openAPIVersion = getProject().getObjects().property(String.class);; @Input @Optional