{"action":"created","issue":{"url":"https://api.github.com/repos/everit-org/json-schema/issues/234","repository_url":"https://api.github.com/repos/everit-org/json-schema","labels_url":"https://api.github.com/repos/everit-org/json-schema/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/everit-org/json-schema/issues/234/comments","events_url":"https://api.github.com/repos/everit-org/json-schema/issues/234/events","html_url":"https://github.com/everit-org/json-schema/issues/234","id":373922957,"node_id":"MDU6SXNzdWUzNzM5MjI5NTc=","number":234,"title":"Swagger spec support","user":{"login":"cannondt","id":10942050,"node_id":"MDQ6VXNlcjEwOTQyMDUw","avatar_url":"https://avatars3.githubusercontent.com/u/10942050?v=4","gravatar_id":"","url":"https://api.github.com/users/cannondt","html_url":"https://github.com/cannondt","followers_url":"https://api.github.com/users/cannondt/followers","following_url":"https://api.github.com/users/cannondt/following{/other_user}","gists_url":"https://api.github.com/users/cannondt/gists{/gist_id}","starred_url":"https://api.github.com/users/cannondt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cannondt/subscriptions","organizations_url":"https://api.github.com/users/cannondt/orgs","repos_url":"https://api.github.com/users/cannondt/repos","events_url":"https://api.github.com/users/cannondt/events{/privacy}","received_events_url":"https://api.github.com/users/cannondt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T12:29:59Z","updated_at":"2018-10-25T13:18:13Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI am trying to use this library for the following validation:\r\nInputs are:\r\na. swagger spec JSON\r\nb. a payload JSON\r\nGiven these 2 inputs I would like to perform a validation wrt to the schema. So in the line below\r\n`InputStream inputStream = getClass().getResourceAsStream(\"/path/to/your/schema.json\"`\r\nI provided the swagger spec JSON\r\nand called\r\n`schema.validate(<<payload JSON object>>`\r\nHowever this does not work, it always returns as valid. \r\n\r\nIs my expectation wrong? If I provide a hand coded JSON schema and the payload, validation happens fine but something goes amiss if I provide a swagger spec JSON. \r\n\r\nCan you please help me out with this issue?\r\n\r\nAnanth"},"comment":{"url":"https://api.github.com/repos/everit-org/json-schema/issues/comments/433046973","html_url":"https://github.com/everit-org/json-schema/issues/234#issuecomment-433046973","issue_url":"https://api.github.com/repos/everit-org/json-schema/issues/234","id":433046973,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzA0Njk3Mw==","user":{"login":"erosb","id":273158,"node_id":"MDQ6VXNlcjI3MzE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/273158?v=4","gravatar_id":"","url":"https://api.github.com/users/erosb","html_url":"https://github.com/erosb","followers_url":"https://api.github.com/users/erosb/followers","following_url":"https://api.github.com/users/erosb/following{/other_user}","gists_url":"https://api.github.com/users/erosb/gists{/gist_id}","starred_url":"https://api.github.com/users/erosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erosb/subscriptions","organizations_url":"https://api.github.com/users/erosb/orgs","repos_url":"https://api.github.com/users/erosb/repos","events_url":"https://api.github.com/users/erosb/events{/privacy}","received_events_url":"https://api.github.com/users/erosb/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T13:18:13Z","updated_at":"2018-10-25T13:18:13Z","author_association":"CONTRIBUTOR","body":"Hi!\r\n\r\nThe problem doesn't seem to be related to openapi (swagger).\r\nPlease raise a PR reproducing the problem [as described in the contribution guide](https://github.com/everit-org/json-schema/blob/master/CONTRIBUTING.md) . Thanks.\r\n"}}
{"actor":{"display_login":"erosb"}}