{"action":"created","comment":{"url":"https://api.github.com/repos/apache/tomee/pulls/comments/244725773","pull_request_review_id":188661807,"id":244725773,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDcyNTc3Mw==","diff_hunk":"@@ -0,0 +1,52 @@\n+package org.superbiz.openapi;\r\n+\r\n+\r\n+\r\n+import javax.enterprise.context.ApplicationScoped;\r\n+\r\n+import javax.ws.rs.GET;\r\n+import javax.ws.rs.Path;\r\n+import javax.ws.rs.PathParam;\r\n+import javax.ws.rs.core.Response;\r\n+\r\n+import org.eclipse.microprofile.openapi.annotations.Operation;\r\n+import org.eclipse.microprofile.openapi.annotations.parameters.Parameter;\r\n+import org.eclipse.microprofile.openapi.annotations.responses.APIResponse;\r\n+import org.eclipse.microprofile.openapi.annotations.media.Content;\r\n+import org.eclipse.microprofile.openapi.annotations.media.Schema;\r\n+\r\n+\r\n+\r\n+\r\n+\r\n+@Path(\"/weather\")\r\n+@ApplicationScoped\r\n+public class WeatherService {\r\n+\r\n+    @Path(\"/status/{day}/\")   \r\n+    @GET\r\n+    @Operation(summary = \"Finds weather for day specified in the URL \", description = \"Describes how the day will be.\")\r\n+    @APIResponse(responseCode = \"400\", description = \"Weather for this day not found\")\r\n+    public Response dayStatus( @Parameter(description = \"The day for which the weather needs to be fetched.\", required = true) @PathParam(\"day\") String day\t) {\r\n+    \t\r\n+    \tif(day.equalsIgnoreCase(\"tomorrow\"))\r\n+    \t\treturn Response.status(Response.Status.NOT_FOUND).build();\r\n+    \tString message=day+ \"is a sunny day.\";\r\n+        return Response.status(Response.Status.OK)\r\n+        \t      .entity(message)\r\n+        \t      .build();        \t         \t\r\n+    }\r\n+\r\n+    @Path(\"/detailedWeather/{day}/\")   \r\n+    @GET\r\n+    @APIResponse(description = \"Detailed Weather\", content=@Content(mediaType=\"application/json\", schema= @Schema(implementation=Weather.class)))\r\n+    public Weather getDetailedWeather( @Parameter(description = \"The day for which the detailed weather needs to be fetched.\", required = true) @PathParam(\"day\") String day) {\r\n+    \t\r\n+        Weather w=new Weather();\r","path":"examples/mp-openapi/src/main/java/org/superbiz/openapi/WeatherService.java","position":45,"original_position":45,"commit_id":"df1920931e0a19f1dc41edc6170f87ba42feadf2","original_commit_id":"df1920931e0a19f1dc41edc6170f87ba42feadf2","user":{"login":"ivanjunckes","id":2260551,"node_id":"MDQ6VXNlcjIyNjA1NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2260551?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanjunckes","html_url":"https://github.com/ivanjunckes","followers_url":"https://api.github.com/users/ivanjunckes/followers","following_url":"https://api.github.com/users/ivanjunckes/following{/other_user}","gists_url":"https://api.github.com/users/ivanjunckes/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanjunckes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanjunckes/subscriptions","organizations_url":"https://api.github.com/users/ivanjunckes/orgs","repos_url":"https://api.github.com/users/ivanjunckes/repos","events_url":"https://api.github.com/users/ivanjunckes/events{/privacy}","received_events_url":"https://api.github.com/users/ivanjunckes/received_events","type":"User","site_admin":false},"body":"Space is missing in several places, between variable and value assingments. Please format the class correctly.","created_at":"2019-01-02T12:36:38Z","updated_at":"2019-01-02T12:38:52Z","html_url":"https://github.com/apache/tomee/pull/340#discussion_r244725773","pull_request_url":"https://api.github.com/repos/apache/tomee/pulls/340","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/tomee/pulls/comments/244725773"},"html":{"href":"https://github.com/apache/tomee/pull/340#discussion_r244725773"},"pull_request":{"href":"https://api.github.com/repos/apache/tomee/pulls/340"}}},"pull_request":{"url":"https://api.github.com/repos/apache/tomee/pulls/340","id":241630702,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNjMwNzAy","html_url":"https://github.com/apache/tomee/pull/340","diff_url":"https://github.com/apache/tomee/pull/340.diff","patch_url":"https://github.com/apache/tomee/pull/340.patch","issue_url":"https://api.github.com/repos/apache/tomee/issues/340","number":340,"state":"open","locked":false,"title":"TOMEE-2289 microprofile openAPI example","user":{"login":"puneethps","id":16502032,"node_id":"MDQ6VXNlcjE2NTAyMDMy","avatar_url":"https://avatars3.githubusercontent.com/u/16502032?v=4","gravatar_id":"","url":"https://api.github.com/users/puneethps","html_url":"https://github.com/puneethps","followers_url":"https://api.github.com/users/puneethps/followers","following_url":"https://api.github.com/users/puneethps/following{/other_user}","gists_url":"https://api.github.com/users/puneethps/gists{/gist_id}","starred_url":"https://api.github.com/users/puneethps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puneethps/subscriptions","organizations_url":"https://api.github.com/users/puneethps/orgs","repos_url":"https://api.github.com/users/puneethps/repos","events_url":"https://api.github.com/users/puneethps/events{/privacy}","received_events_url":"https://api.github.com/users/puneethps/received_events","type":"User","site_admin":false},"body":"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?","created_at":"2019-01-01T12:14:18Z","updated_at":"2019-01-02T12:38:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38b7f30ebf9888350f959ad6f1107035458b3564","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/tomee/pulls/340/commits","review_comments_url":"https://api.github.com/repos/apache/tomee/pulls/340/comments","review_comment_url":"https://api.github.com/repos/apache/tomee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/tomee/issues/340/comments","statuses_url":"https://api.github.com/repos/apache/tomee/statuses/df1920931e0a19f1dc41edc6170f87ba42feadf2","head":{"label":"puneethps:master","ref":"master","sha":"df1920931e0a19f1dc41edc6170f87ba42feadf2","user":{"login":"puneethps","id":16502032,"node_id":"MDQ6VXNlcjE2NTAyMDMy","avatar_url":"https://avatars3.githubusercontent.com/u/16502032?v=4","gravatar_id":"","url":"https://api.github.com/users/puneethps","html_url":"https://github.com/puneethps","followers_url":"https://api.github.com/users/puneethps/followers","following_url":"https://api.github.com/users/puneethps/following{/other_user}","gists_url":"https://api.github.com/users/puneethps/gists{/gist_id}","starred_url":"https://api.github.com/users/puneethps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puneethps/subscriptions","organizations_url":"https://api.github.com/users/puneethps/orgs","repos_url":"https://api.github.com/users/puneethps/repos","events_url":"https://api.github.com/users/puneethps/events{/privacy}","received_events_url":"https://api.github.com/users/puneethps/received_events","type":"User","site_admin":false},"repo":{"id":163731657,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM3MzE2NTc=","name":"tomee","full_name":"puneethps/tomee","private":false,"owner":{"login":"puneethps","id":16502032,"node_id":"MDQ6VXNlcjE2NTAyMDMy","avatar_url":"https://avatars3.githubusercontent.com/u/16502032?v=4","gravatar_id":"","url":"https://api.github.com/users/puneethps","html_url":"https://github.com/puneethps","followers_url":"https://api.github.com/users/puneethps/followers","following_url":"https://api.github.com/users/puneethps/following{/other_user}","gists_url":"https://api.github.com/users/puneethps/gists{/gist_id}","starred_url":"https://api.github.com/users/puneethps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puneethps/subscriptions","organizations_url":"https://api.github.com/users/puneethps/orgs","repos_url":"https://api.github.com/users/puneethps/repos","events_url":"https://api.github.com/users/puneethps/events{/privacy}","received_events_url":"https://api.github.com/users/puneethps/received_events","type":"User","site_admin":false},"html_url":"https://github.com/puneethps/tomee","description":"Mirror of Apache Tomee","fork":true,"url":"https://api.github.com/repos/puneethps/tomee","forks_url":"https://api.github.com/repos/puneethps/tomee/forks","keys_url":"https://api.github.com/repos/puneethps/tomee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puneethps/tomee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puneethps/tomee/teams","hooks_url":"https://api.github.com/repos/puneethps/tomee/hooks","issue_events_url":"https://api.github.com/repos/puneethps/tomee/issues/events{/number}","events_url":"https://api.github.com/repos/puneethps/tomee/events","assignees_url":"https://api.github.com/repos/puneethps/tomee/assignees{/user}","branches_url":"https://api.github.com/repos/puneethps/tomee/branches{/branch}","tags_url":"https://api.github.com/repos/puneethps/tomee/tags","blobs_url":"https://api.github.com/repos/puneethps/tomee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puneethps/tomee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puneethps/tomee/git/refs{/sha}","trees_url":"https://api.github.com/repos/puneethps/tomee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puneethps/tomee/statuses/{sha}","languages_url":"https://api.github.com/repos/puneethps/tomee/languages","stargazers_url":"https://api.github.com/repos/puneethps/tomee/stargazers","contributors_url":"https://api.github.com/repos/puneethps/tomee/contributors","subscribers_url":"https://api.github.com/repos/puneethps/tomee/subscribers","subscription_url":"https://api.github.com/repos/puneethps/tomee/subscription","commits_url":"https://api.github.com/repos/puneethps/tomee/commits{/sha}","git_commits_url":"https://api.github.com/repos/puneethps/tomee/git/commits{/sha}","comments_url":"https://api.github.com/repos/puneethps/tomee/comments{/number}","issue_comment_url":"https://api.github.com/repos/puneethps/tomee/issues/comments{/number}","contents_url":"https://api.github.com/repos/puneethps/tomee/contents/{+path}","compare_url":"https://api.github.com/repos/puneethps/tomee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puneethps/tomee/merges","archive_url":"https://api.github.com/repos/puneethps/tomee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puneethps/tomee/downloads","issues_url":"https://api.github.com/repos/puneethps/tomee/issues{/number}","pulls_url":"https://api.github.com/repos/puneethps/tomee/pulls{/number}","milestones_url":"https://api.github.com/repos/puneethps/tomee/milestones{/number}","notifications_url":"https://api.github.com/repos/puneethps/tomee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puneethps/tomee/labels{/name}","releases_url":"https://api.github.com/repos/puneethps/tomee/releases{/id}","deployments_url":"https://api.github.com/repos/puneethps/tomee/deployments","created_at":"2019-01-01T11:25:06Z","updated_at":"2019-01-01T12:09:52Z","pushed_at":"2019-01-01T12:09:51Z","git_url":"git://github.com/puneethps/tomee.git","ssh_url":"git@github.com:puneethps/tomee.git","clone_url":"https://github.com/puneethps/tomee.git","svn_url":"https://github.com/puneethps/tomee","homepage":null,"size":65556,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"3b2d562f87e14923996e422da70a6f9b383beac5","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":7748336,"node_id":"MDEwOlJlcG9zaXRvcnk3NzQ4MzM2","name":"tomee","full_name":"apache/tomee","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/tomee","description":"Mirror of Apache Tomee","fork":false,"url":"https://api.github.com/repos/apache/tomee","forks_url":"https://api.github.com/repos/apache/tomee/forks","keys_url":"https://api.github.com/repos/apache/tomee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/tomee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/tomee/teams","hooks_url":"https://api.github.com/repos/apache/tomee/hooks","issue_events_url":"https://api.github.com/repos/apache/tomee/issues/events{/number}","events_url":"https://api.github.com/repos/apache/tomee/events","assignees_url":"https://api.github.com/repos/apache/tomee/assignees{/user}","branches_url":"https://api.github.com/repos/apache/tomee/branches{/branch}","tags_url":"https://api.github.com/repos/apache/tomee/tags","blobs_url":"https://api.github.com/repos/apache/tomee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/tomee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/tomee/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/tomee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/tomee/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/tomee/languages","stargazers_url":"https://api.github.com/repos/apache/tomee/stargazers","contributors_url":"https://api.github.com/repos/apache/tomee/contributors","subscribers_url":"https://api.github.com/repos/apache/tomee/subscribers","subscription_url":"https://api.github.com/repos/apache/tomee/subscription","commits_url":"https://api.github.com/repos/apache/tomee/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/tomee/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/tomee/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/tomee/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/tomee/contents/{+path}","compare_url":"https://api.github.com/repos/apache/tomee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/tomee/merges","archive_url":"https://api.github.com/repos/apache/tomee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/tomee/downloads","issues_url":"https://api.github.com/repos/apache/tomee/issues{/number}","pulls_url":"https://api.github.com/repos/apache/tomee/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/tomee/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/tomee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/tomee/labels{/name}","releases_url":"https://api.github.com/repos/apache/tomee/releases{/id}","deployments_url":"https://api.github.com/repos/apache/tomee/deployments","created_at":"2013-01-22T08:00:16Z","updated_at":"2019-01-02T12:04:35Z","pushed_at":"2019-01-02T12:37:42Z","git_url":"git://github.com/apache/tomee.git","ssh_url":"git@github.com:apache/tomee.git","clone_url":"https://github.com/apache/tomee.git","svn_url":"https://github.com/apache/tomee","homepage":null,"size":65626,"stargazers_count":258,"watchers_count":258,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":548,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":548,"open_issues":32,"watchers":258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/tomee/pulls/340"},"html":{"href":"https://github.com/apache/tomee/pull/340"},"issue":{"href":"https://api.github.com/repos/apache/tomee/issues/340"},"comments":{"href":"https://api.github.com/repos/apache/tomee/issues/340/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/tomee/pulls/340/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/tomee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/tomee/pulls/340/commits"},"statuses":{"href":"https://api.github.com/repos/apache/tomee/statuses/df1920931e0a19f1dc41edc6170f87ba42feadf2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ivanjunckes"}}