You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/04/13 10:57:00 UTC
[jira] [Updated] (TOMEE-2289) MicroProfile OpenAPI Example
[ https://issues.apache.org/jira/browse/TOMEE-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Zowalla updated TOMEE-2289:
-----------------------------------
Fix Version/s: 8.0.12
(was: 8.0.11)
> 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
> Fix For: 8.0.12
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v8.20.1#820001)