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/01/01 12:15:00 UTC
[jira] [Commented] (TOMEE-2289) MicroProfile OpenAPI Example
[ https://issues.apache.org/jira/browse/TOMEE-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731581#comment-16731581 ]
ASF GitHub Bot commented on TOMEE-2289:
---------------------------------------
GitHub user puneethps opened a pull request:
https://github.com/apache/tomee/pull/340
TOMEE-2289 microprofile openAPI example
The JIRA status for TOMEE-2289 hasn't changed for quite sometime so I felt I could add a new project for this. Can someone please review the PR and suggest changes required?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/puneethps/tomee master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tomee/pull/340.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #340
----
commit cb3cc174ea9e66a63629b46f33a7f88b2bcedfd0
Author: Puneeth PS <pu...@...>
Date: 2019-01-01T11:34:21Z
Added MicroProfile OpenAPI Example.(TOMEE-2289)
There was no progress on TOMEE-2289 so I created the example project.
commit df1920931e0a19f1dc41edc6170f87ba42feadf2
Author: Puneeth PS <pu...@...>
Date: 2019-01-01T12:09:50Z
added README.adoc
added README.adoc
----
> MicroProfile OpenAPI Example
> ----------------------------
>
> Key: TOMEE-2289
> URL: https://issues.apache.org/jira/browse/TOMEE-2289
> Project: TomEE
> Issue Type: Sub-task
> Components: Examples and Documentation
> Affects Versions: 8.0.0-M1
> Reporter: Ivan Junckes Filho
> Assignee: Ivan Junckes Filho
> Priority: Minor
> Labels: examples, pull-request-available
>
> We would like to write an example for MicroProfile OpenApi.
> Here is the MicroProfile specification url:
> [https://download.eclipse.org/microprofile/microprofile-open-api-1.0.1/microprofile-openapi-spec.html]
> Fork / clone the TomEE project from here:
> [https://github.com/apache/tomee]
> Example name should be _mp-openapi_, following the standard already in the project.
> All the examples are in:
> [https://github.com/apache/tomee/tree/master/examples]
> See this example of Microprofile Metrics for reference:
> [https://github.com/apache/tomee/tree/master/examples/mp-metrics-counted]
>
> What you have to do is:
> 1 - Create a JAX-RS endpoint with some methods (Using the same domain from metrics - WeatherService would be good)
> 2 - Annotate with OpenApi annotations
> 3 - Write a test to assert the response in JSON and YAML
> 4 - Make sure all the tests pass
> After that submit a PR and we'll review it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)