Fixes #17642 by adding info contact url to the generated OpenAPIDefinition annotation (#17644)

This commit is contained in:
Tjeerd Verhagen 2024-01-20 15:47:40 +01:00 committed by GitHub
parent eb10b410e1
commit 3dcef8249b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {