{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/343","repository_url":"https://api.github.com/repos/swagger-api/swagger-parser","labels_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/343/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-parser/issues/343/events","html_url":"https://github.com/swagger-api/swagger-parser/issues/343","id":188630828,"number":343,"title":"SwaggerDeserializer ignores attributes like 'uniqueItems' and 'multipleOf'","user":{"login":"davide-maestroni","id":7406135,"avatar_url":"https://avatars.githubusercontent.com/u/7406135?v=3","gravatar_id":"","url":"https://api.github.com/users/davide-maestroni","html_url":"https://github.com/davide-maestroni","followers_url":"https://api.github.com/users/davide-maestroni/followers","following_url":"https://api.github.com/users/davide-maestroni/following{/other_user}","gists_url":"https://api.github.com/users/davide-maestroni/gists{/gist_id}","starred_url":"https://api.github.com/users/davide-maestroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davide-maestroni/subscriptions","organizations_url":"https://api.github.com/users/davide-maestroni/orgs","repos_url":"https://api.github.com/users/davide-maestroni/repos","events_url":"https://api.github.com/users/davide-maestroni/events{/privacy}","received_events_url":"https://api.github.com/users/davide-maestroni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T22:03:54Z","updated_at":"2016-12-27T08:32:29Z","closed_at":"2016-12-27T08:32:29Z","body":"I noticed that the parser ignores some attributes like 'uniqueItems' and 'multipleOf'.\r\nFor instance, there is a line parsing the 'uniqueItems' attributes:\r\nrequired.put(PropertyId.UNIQUE_ITEMS, this.getBoolean(\"uniqueItems\", obj, false, location, result));\r\nbut no corresponding set:\r\n((AbstractSerializableParameter)sp).setUniqueItems(this.getBoolean(\"uniqueItems\", obj, false, location, result));\r\n\r\nThe attributes 'multipleOf' is never parsed even if the AbstractSerializableParameter has a setMultipleOf method.\r\nAlso for model property 'uniqueItems' attribute is never parsed."}}
{"actor":{"display_login":"fehguy"}}