{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12","id":192400876,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNDAwODc2","html_url":"https://github.com/oasis-tcs/odata-openapi/pull/12","diff_url":"https://github.com/oasis-tcs/odata-openapi/pull/12.diff","patch_url":"https://github.com/oasis-tcs/odata-openapi/pull/12.patch","issue_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/12","number":12,"state":"open","locked":false,"title":"Update V4-CSDL-to-OpenAPI.xsl","user":{"login":"sunmorgus","id":2287216,"node_id":"MDQ6VXNlcjIyODcyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/2287216?v=4","gravatar_id":"","url":"https://api.github.com/users/sunmorgus","html_url":"https://github.com/sunmorgus","followers_url":"https://api.github.com/users/sunmorgus/followers","following_url":"https://api.github.com/users/sunmorgus/following{/other_user}","gists_url":"https://api.github.com/users/sunmorgus/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmorgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmorgus/subscriptions","organizations_url":"https://api.github.com/users/sunmorgus/orgs","repos_url":"https://api.github.com/users/sunmorgus/repos","events_url":"https://api.github.com/users/sunmorgus/events{/privacy}","received_events_url":"https://api.github.com/users/sunmorgus/received_events","type":"User","site_admin":false},"body":"First off, THANK YOU SO MUCH for this project. I spent days trying to find a solution to building a swagger document for my dotnet core OData API (which is currently not supported using the Swashbuckle .NET package).\r\n\r\nShort list of changes is below. Note that I haven't tested these changes on a wide variety of APIs, and at least one of the changes (the 'basePath' on the path template) could probably stand to be optionally configured; however, I felt as though these changes may be useful enough for you to at least review and consider for merging into master\r\n\r\n- Added support for child entities (i.e. /ParentEntity('parent key')/ChildEntity('child key'))\r\n- Added 'operationId' to operations in paths\r\n- Added 'basePath' to path template\r\n- For swagger-2.0 spec, changed string type to not show as an array with a \"nullable\" property... Swagger Editor was throwing an error on validating strings like that","created_at":"2018-06-04T13:02:52Z","updated_at":"2018-06-04T13:02:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12/commits","review_comments_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12/comments","review_comment_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/12/comments","statuses_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/statuses/7977a4a9adc744a9fb0abc36e01b868978062588","head":{"label":"sunmorgus:master","ref":"master","sha":"7977a4a9adc744a9fb0abc36e01b868978062588","user":{"login":"sunmorgus","id":2287216,"node_id":"MDQ6VXNlcjIyODcyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/2287216?v=4","gravatar_id":"","url":"https://api.github.com/users/sunmorgus","html_url":"https://github.com/sunmorgus","followers_url":"https://api.github.com/users/sunmorgus/followers","following_url":"https://api.github.com/users/sunmorgus/following{/other_user}","gists_url":"https://api.github.com/users/sunmorgus/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmorgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmorgus/subscriptions","organizations_url":"https://api.github.com/users/sunmorgus/orgs","repos_url":"https://api.github.com/users/sunmorgus/repos","events_url":"https://api.github.com/users/sunmorgus/events{/privacy}","received_events_url":"https://api.github.com/users/sunmorgus/received_events","type":"User","site_admin":false},"repo":{"id":136024410,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMjQ0MTA=","name":"odata-openapi","full_name":"sunmorgus/odata-openapi","owner":{"login":"sunmorgus","id":2287216,"node_id":"MDQ6VXNlcjIyODcyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/2287216?v=4","gravatar_id":"","url":"https://api.github.com/users/sunmorgus","html_url":"https://github.com/sunmorgus","followers_url":"https://api.github.com/users/sunmorgus/followers","following_url":"https://api.github.com/users/sunmorgus/following{/other_user}","gists_url":"https://api.github.com/users/sunmorgus/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmorgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmorgus/subscriptions","organizations_url":"https://api.github.com/users/sunmorgus/orgs","repos_url":"https://api.github.com/users/sunmorgus/repos","events_url":"https://api.github.com/users/sunmorgus/events{/privacy}","received_events_url":"https://api.github.com/users/sunmorgus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunmorgus/odata-openapi","description":"OASIS OData TC: Tools for producing API descriptions for OData services that adhere to the OpenAPI Specification","fork":true,"url":"https://api.github.com/repos/sunmorgus/odata-openapi","forks_url":"https://api.github.com/repos/sunmorgus/odata-openapi/forks","keys_url":"https://api.github.com/repos/sunmorgus/odata-openapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunmorgus/odata-openapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunmorgus/odata-openapi/teams","hooks_url":"https://api.github.com/repos/sunmorgus/odata-openapi/hooks","issue_events_url":"https://api.github.com/repos/sunmorgus/odata-openapi/issues/events{/number}","events_url":"https://api.github.com/repos/sunmorgus/odata-openapi/events","assignees_url":"https://api.github.com/repos/sunmorgus/odata-openapi/assignees{/user}","branches_url":"https://api.github.com/repos/sunmorgus/odata-openapi/branches{/branch}","tags_url":"https://api.github.com/repos/sunmorgus/odata-openapi/tags","blobs_url":"https://api.github.com/repos/sunmorgus/odata-openapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunmorgus/odata-openapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunmorgus/odata-openapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunmorgus/odata-openapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunmorgus/odata-openapi/statuses/{sha}","languages_url":"https://api.github.com/repos/sunmorgus/odata-openapi/languages","stargazers_url":"https://api.github.com/repos/sunmorgus/odata-openapi/stargazers","contributors_url":"https://api.github.com/repos/sunmorgus/odata-openapi/contributors","subscribers_url":"https://api.github.com/repos/sunmorgus/odata-openapi/subscribers","subscription_url":"https://api.github.com/repos/sunmorgus/odata-openapi/subscription","commits_url":"https://api.github.com/repos/sunmorgus/odata-openapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunmorgus/odata-openapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunmorgus/odata-openapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunmorgus/odata-openapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunmorgus/odata-openapi/contents/{+path}","compare_url":"https://api.github.com/repos/sunmorgus/odata-openapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunmorgus/odata-openapi/merges","archive_url":"https://api.github.com/repos/sunmorgus/odata-openapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunmorgus/odata-openapi/downloads","issues_url":"https://api.github.com/repos/sunmorgus/odata-openapi/issues{/number}","pulls_url":"https://api.github.com/repos/sunmorgus/odata-openapi/pulls{/number}","milestones_url":"https://api.github.com/repos/sunmorgus/odata-openapi/milestones{/number}","notifications_url":"https://api.github.com/repos/sunmorgus/odata-openapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunmorgus/odata-openapi/labels{/name}","releases_url":"https://api.github.com/repos/sunmorgus/odata-openapi/releases{/id}","deployments_url":"https://api.github.com/repos/sunmorgus/odata-openapi/deployments","created_at":"2018-06-04T12:50:59Z","updated_at":"2018-06-04T12:59:23Z","pushed_at":"2018-06-04T12:59:22Z","git_url":"git://github.com/sunmorgus/odata-openapi.git","ssh_url":"git@github.com:sunmorgus/odata-openapi.git","clone_url":"https://github.com/sunmorgus/odata-openapi.git","svn_url":"https://github.com/sunmorgus/odata-openapi","homepage":"https://github.com/oasis-tcs/odata-openapi","size":1569,"stargazers_count":0,"watchers_count":0,"language":"XSLT","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oasis-tcs:master","ref":"master","sha":"d0ec4ef5b2770de3c38b92f8c488164d1c2fbd7c","user":{"login":"oasis-tcs","id":20116735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTE2NzM1","avatar_url":"https://avatars1.githubusercontent.com/u/20116735?v=4","gravatar_id":"","url":"https://api.github.com/users/oasis-tcs","html_url":"https://github.com/oasis-tcs","followers_url":"https://api.github.com/users/oasis-tcs/followers","following_url":"https://api.github.com/users/oasis-tcs/following{/other_user}","gists_url":"https://api.github.com/users/oasis-tcs/gists{/gist_id}","starred_url":"https://api.github.com/users/oasis-tcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oasis-tcs/subscriptions","organizations_url":"https://api.github.com/users/oasis-tcs/orgs","repos_url":"https://api.github.com/users/oasis-tcs/repos","events_url":"https://api.github.com/users/oasis-tcs/events{/privacy}","received_events_url":"https://api.github.com/users/oasis-tcs/received_events","type":"Organization","site_admin":false},"repo":{"id":74067831,"node_id":"MDEwOlJlcG9zaXRvcnk3NDA2NzgzMQ==","name":"odata-openapi","full_name":"oasis-tcs/odata-openapi","owner":{"login":"oasis-tcs","id":20116735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTE2NzM1","avatar_url":"https://avatars1.githubusercontent.com/u/20116735?v=4","gravatar_id":"","url":"https://api.github.com/users/oasis-tcs","html_url":"https://github.com/oasis-tcs","followers_url":"https://api.github.com/users/oasis-tcs/followers","following_url":"https://api.github.com/users/oasis-tcs/following{/other_user}","gists_url":"https://api.github.com/users/oasis-tcs/gists{/gist_id}","starred_url":"https://api.github.com/users/oasis-tcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oasis-tcs/subscriptions","organizations_url":"https://api.github.com/users/oasis-tcs/orgs","repos_url":"https://api.github.com/users/oasis-tcs/repos","events_url":"https://api.github.com/users/oasis-tcs/events{/privacy}","received_events_url":"https://api.github.com/users/oasis-tcs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oasis-tcs/odata-openapi","description":"OASIS OData TC: Tools for producing API descriptions for OData services that adhere to the OpenAPI Specification","fork":false,"url":"https://api.github.com/repos/oasis-tcs/odata-openapi","forks_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/forks","keys_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/teams","hooks_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/hooks","issue_events_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/events{/number}","events_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/events","assignees_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/assignees{/user}","branches_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/branches{/branch}","tags_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/tags","blobs_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/statuses/{sha}","languages_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/languages","stargazers_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/stargazers","contributors_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/contributors","subscribers_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/subscribers","subscription_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/subscription","commits_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/contents/{+path}","compare_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/merges","archive_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/downloads","issues_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues{/number}","pulls_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls{/number}","milestones_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/milestones{/number}","notifications_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/labels{/name}","releases_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/releases{/id}","deployments_url":"https://api.github.com/repos/oasis-tcs/odata-openapi/deployments","created_at":"2016-11-17T21:11:22Z","updated_at":"2018-05-18T22:52:51Z","pushed_at":"2018-05-15T09:36:13Z","git_url":"git://github.com/oasis-tcs/odata-openapi.git","ssh_url":"git@github.com:oasis-tcs/odata-openapi.git","clone_url":"https://github.com/oasis-tcs/odata-openapi.git","svn_url":"https://github.com/oasis-tcs/odata-openapi","homepage":"https://github.com/oasis-tcs/odata-openapi","size":1569,"stargazers_count":22,"watchers_count":22,"language":"XSLT","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":1,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12"},"html":{"href":"https://github.com/oasis-tcs/odata-openapi/pull/12"},"issue":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/12"},"comments":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/oasis-tcs/odata-openapi/statuses/7977a4a9adc744a9fb0abc36e01b868978062588"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":95,"deletions":14,"changed_files":1}}
{"actor":{"display_login":"sunmorgus"}}