{"action":"created","issue":{"url":"https://api.github.com/repos/zalando/api-first-hand/issues/60","repository_url":"https://api.github.com/repos/zalando/api-first-hand","labels_url":"https://api.github.com/repos/zalando/api-first-hand/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/zalando/api-first-hand/issues/60/comments","events_url":"https://api.github.com/repos/zalando/api-first-hand/issues/60/events","html_url":"https://github.com/zalando/api-first-hand/issues/60","id":207286518,"number":60,"title":"Required properties validation","user":{"login":"sergey-novikov","id":5654118,"avatar_url":"https://avatars0.githubusercontent.com/u/5654118?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-novikov","html_url":"https://github.com/sergey-novikov","followers_url":"https://api.github.com/users/sergey-novikov/followers","following_url":"https://api.github.com/users/sergey-novikov/following{/other_user}","gists_url":"https://api.github.com/users/sergey-novikov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-novikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-novikov/subscriptions","organizations_url":"https://api.github.com/users/sergey-novikov/orgs","repos_url":"https://api.github.com/users/sergey-novikov/repos","events_url":"https://api.github.com/users/sergey-novikov/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-novikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-13T17:32:03Z","updated_at":"2017-04-11T21:14:57Z","closed_at":null,"body":"Endpoint:\r\n```\r\nparameters:\r\n  - name: query\r\n    in: body\r\n    required: true\r\n    schema:\r\n      \"$ref\": \"#/definitions/Query\"\r\n```\r\n\r\ndefinition:\r\n```\r\n  Query:\r\n    type: object\r\n    required:\r\n      - language\r\n    properties:\r\n      language:\r\n        type: string\r\n```\r\n\r\nrequest body:\r\n```\r\n{\r\n}\r\n```\r\n\r\n**Expected result:** validation error (`language` property is required)\r\n**Actual result:** no errors\r\n"},"comment":{"url":"https://api.github.com/repos/zalando/api-first-hand/issues/comments/293402143","html_url":"https://github.com/zalando/api-first-hand/issues/60#issuecomment-293402143","issue_url":"https://api.github.com/repos/zalando/api-first-hand/issues/60","id":293402143,"user":{"login":"s12v","id":1462574,"avatar_url":"https://avatars2.githubusercontent.com/u/1462574?v=3","gravatar_id":"","url":"https://api.github.com/users/s12v","html_url":"https://github.com/s12v","followers_url":"https://api.github.com/users/s12v/followers","following_url":"https://api.github.com/users/s12v/following{/other_user}","gists_url":"https://api.github.com/users/s12v/gists{/gist_id}","starred_url":"https://api.github.com/users/s12v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s12v/subscriptions","organizations_url":"https://api.github.com/users/s12v/orgs","repos_url":"https://api.github.com/users/s12v/repos","events_url":"https://api.github.com/users/s12v/events{/privacy}","received_events_url":"https://api.github.com/users/s12v/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T21:14:57Z","updated_at":"2017-04-11T21:14:57Z","body":"> Exactly! Everything which is required is by definition not allowed to be null without additional validations\r\n\r\nI see. You're right. But it wasn't like this before! :) Looks like marshalling has changed in 0.2.0\r\n\r\n> 500 is bad, let us do something with that.\r\n👍 "}}
{"actor":{"display_login":"s12v"}}