You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/01 19:30:00 UTC
[jira] [Updated] (TOMEE-2502) Fixes Eclipse Microprofile-Open-API
when it reads Application.
[ https://issues.apache.org/jira/browse/TOMEE-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated TOMEE-2502:
----------------------------------
Labels: pull-request-available (was: )
> Fixes Eclipse Microprofile-Open-API when it reads Application.
> ---------------------------------------------------------------
>
> Key: TOMEE-2502
> URL: https://issues.apache.org/jira/browse/TOMEE-2502
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 8.0.0-M2
> Reporter: Otavio Goncalves de Santana
> Priority: Major
> Labels: pull-request-available
>
> This PR fixes the Eclipse Microprofile Open-API.
> Briefly, at the current version, TomEE does not read information from the `Application` class that has Open-API annotation.
>
> {code:java}
> @ApplicationPath("api")
> @OpenAPIDefinition(info = @Info(
> title = "Example application",
> version = "1.0.0",
> contact = @Contact(
> name = "Otavio",
> email = "otavio@otavio.com",
> url = "http://www.otaviojava.com.br")
> ),
> servers =
> { @Server(url = "/example", description = "localhost") }
> )
> public class MVCApplication extends Application {
> }
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)