From 3dcef8249b09f92fceba57e34b9c0cdaf7e7a758 Mon Sep 17 00:00:00 2001 From: Tjeerd Verhagen Date: Sat, 20 Jan 2024 15:47:40 +0100 Subject: [PATCH] Fixes #17642 by adding info contact url to the generated OpenAPIDefinition annotation (#17644) --- .../src/main/resources/JavaJaxRS/spec/RestApplication.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/RestApplication.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/RestApplication.mustache index 92459a5b7cd..4f7ce12fd02 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/RestApplication.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/RestApplication.mustache @@ -9,7 +9,7 @@ import {{javaxPackage}}.ws.rs.core.Application; {{#appName}},title = "{{{.}}}"{{/appName}} {{#appDescription}},description = "{{{.}}}"{{/appDescription}} {{#license}},license = @org.eclipse.microprofile.openapi.annotations.info.License(name = "{{{licenseInfo}}}", url = "{{{licenseUrl}}}"){{/license}} - {{#contact}},contact = @org.eclipse.microprofile.openapi.annotations.info.Contact(name = "{{{infoName}}}", email = "{{{infoEmail}}}"){{/contact}} + {{#contact}},contact = @org.eclipse.microprofile.openapi.annotations.info.Contact(name = "{{{infoName}}}", email = "{{{infoEmail}}}", url = "{{{infoUrl}}}"){{/contact}} )){{/info}}{{/openAPI}}{{/useMicroProfileOpenAPIAnnotations}} @ApplicationPath(RestResourceRoot.APPLICATION_PATH) public class RestApplication extends Application {