{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/validator-badge/issues/41","repository_url":"https://api.github.com/repos/swagger-api/validator-badge","labels_url":"https://api.github.com/repos/swagger-api/validator-badge/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/validator-badge/issues/41/comments","events_url":"https://api.github.com/repos/swagger-api/validator-badge/issues/41/events","html_url":"https://github.com/swagger-api/validator-badge/issues/41","id":94795400,"number":41,"title":"Enable validation of contents and not only via URL","user":{"login":"ricardo-de-andrade","id":4437145,"avatar_url":"https://avatars.githubusercontent.com/u/4437145?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardo-de-andrade","html_url":"https://github.com/ricardo-de-andrade","followers_url":"https://api.github.com/users/ricardo-de-andrade/followers","following_url":"https://api.github.com/users/ricardo-de-andrade/following{/other_user}","gists_url":"https://api.github.com/users/ricardo-de-andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardo-de-andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardo-de-andrade/subscriptions","organizations_url":"https://api.github.com/users/ricardo-de-andrade/orgs","repos_url":"https://api.github.com/users/ricardo-de-andrade/repos","events_url":"https://api.github.com/users/ricardo-de-andrade/events{/privacy}","received_events_url":"https://api.github.com/users/ricardo-de-andrade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/validator-badge/labels/Feature","name":"Feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/validator-badge/milestones/1","html_url":"https://github.com/swagger-api/validator-badge/milestones/v1.0.2","labels_url":"https://api.github.com/repos/swagger-api/validator-badge/milestones/1/labels","id":1210102,"number":1,"title":"v1.0.2","description":"","creator":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2015-07-15T20:55:55Z","updated_at":"2016-01-05T05:06:07Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-07-13T19:40:51Z","updated_at":"2016-03-11T20:59:51Z","closed_at":null,"body":"It would be nice if the tool would allow the user to invoke the validator tool and pass the contents of the yaml/json (even if only the /debug).\r\n\r\nFor example (some other method of achieving it would be just as good): \r\ncurl -X POST /validator/debug --data-binary @{fileName}\r\n\r\nThis would simplify the integration of the tool in to build automation processes for example, where the API definition may not be available online.\r\n\r\nToday a workaround would be to start the tool locally, and then start a local webserver just for the validation, which is a bit heavy."},"comment":{"url":"https://api.github.com/repos/swagger-api/validator-badge/issues/comments/195548723","html_url":"https://github.com/swagger-api/validator-badge/issues/41#issuecomment-195548723","issue_url":"https://api.github.com/repos/swagger-api/validator-badge/issues/41","id":195548723,"user":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T20:59:51Z","updated_at":"2016-03-11T20:59:51Z","body":"It's not the `accept` header you need to send, it's the `content-type`."}}