{"action":"closed","issue":{"url":"https://api.github.com/repos/apinf/platform/issues/3061","repository_url":"https://api.github.com/repos/apinf/platform","labels_url":"https://api.github.com/repos/apinf/platform/issues/3061/labels{/name}","comments_url":"https://api.github.com/repos/apinf/platform/issues/3061/comments","events_url":"https://api.github.com/repos/apinf/platform/issues/3061/events","html_url":"https://github.com/apinf/platform/issues/3061","id":266472918,"number":3061,"title":"Add API using Swagger file: parse json and yaml","user":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars0.githubusercontent.com/u/11626388?v=4","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"labels":[{"id":197954013,"url":"https://api.github.com/repos/apinf/platform/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"marla-singer","id":20643403,"avatar_url":"https://avatars0.githubusercontent.com/u/20643403?v=4","gravatar_id":"","url":"https://api.github.com/users/marla-singer","html_url":"https://github.com/marla-singer","followers_url":"https://api.github.com/users/marla-singer/followers","following_url":"https://api.github.com/users/marla-singer/following{/other_user}","gists_url":"https://api.github.com/users/marla-singer/gists{/gist_id}","starred_url":"https://api.github.com/users/marla-singer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marla-singer/subscriptions","organizations_url":"https://api.github.com/users/marla-singer/orgs","repos_url":"https://api.github.com/users/marla-singer/repos","events_url":"https://api.github.com/users/marla-singer/events{/privacy}","received_events_url":"https://api.github.com/users/marla-singer/received_events","type":"User","site_admin":false},"assignees":[{"login":"marla-singer","id":20643403,"avatar_url":"https://avatars0.githubusercontent.com/u/20643403?v=4","gravatar_id":"","url":"https://api.github.com/users/marla-singer","html_url":"https://github.com/marla-singer","followers_url":"https://api.github.com/users/marla-singer/followers","following_url":"https://api.github.com/users/marla-singer/following{/other_user}","gists_url":"https://api.github.com/users/marla-singer/gists{/gist_id}","starred_url":"https://api.github.com/users/marla-singer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marla-singer/subscriptions","organizations_url":"https://api.github.com/users/marla-singer/orgs","repos_url":"https://api.github.com/users/marla-singer/repos","events_url":"https://api.github.com/users/marla-singer/events{/privacy}","received_events_url":"https://api.github.com/users/marla-singer/received_events","type":"User","site_admin":false},{"login":"saransh-dev","id":29011434,"avatar_url":"https://avatars2.githubusercontent.com/u/29011434?v=4","gravatar_id":"","url":"https://api.github.com/users/saransh-dev","html_url":"https://github.com/saransh-dev","followers_url":"https://api.github.com/users/saransh-dev/followers","following_url":"https://api.github.com/users/saransh-dev/following{/other_user}","gists_url":"https://api.github.com/users/saransh-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/saransh-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saransh-dev/subscriptions","organizations_url":"https://api.github.com/users/saransh-dev/orgs","repos_url":"https://api.github.com/users/saransh-dev/repos","events_url":"https://api.github.com/users/saransh-dev/events{/privacy}","received_events_url":"https://api.github.com/users/saransh-dev/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/apinf/platform/milestones/53","html_url":"https://github.com/apinf/platform/milestone/53","labels_url":"https://api.github.com/repos/apinf/platform/milestones/53/labels","id":2867184,"number":53,"title":"Sprint 56","description":"APInf sprint 56: 30 October - 10 November 2017","creator":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars0.githubusercontent.com/u/11626388?v=4","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":17,"state":"closed","created_at":"2017-10-26T11:47:04Z","updated_at":"2017-12-04T08:52:30Z","due_on":"2017-11-10T08:00:00Z","closed_at":"2017-11-27T11:09:07Z"},"comments":17,"created_at":"2017-10-18T12:23:16Z","updated_at":"2017-12-04T08:52:30Z","closed_at":"2017-12-04T08:52:30Z","author_association":"MEMBER","body":"# User story\r\nAs an API owner, I would like to be able to upload or link a Swagger file so that I can add an API to Catalog without manually entering the same data that can already be found from my Swagger file.\r\n\r\n# Goal\r\nThe goal of this task is to solve basic first steps for adding an API with reading data from Swagger file\r\n* Get familiar with OpenAPI 2.0 specification and understand which fields in the Swagger document can be mapped to these APInf fields\r\n  * Name\r\n  * URL\r\n  * Description\r\n  * lifecycle status\r\n* Find suitable open source NPM packages for\r\n  * parsing YAML\r\n  * parsing JSON\r\n* Figure out how to validate, whether the file is valid Swagger file, valid json, valid yaml\r\n\r\nNote: the actual UI implementation of Add API using Swagger to follow later."}}
{"actor":{"display_login":"matleppa"}}