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 {