{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1537","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1537/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1537/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1537/events","html_url":"https://github.com/swagger-api/swagger-core/issues/1537","id":115337690,"number":1537,"title":"swagger core does not support parameter fields defined in swagger spec 2.0  ","user":{"login":"gaalandr","id":11462578,"avatar_url":"https://avatars.githubusercontent.com/u/11462578?v=3","gravatar_id":"","url":"https://api.github.com/users/gaalandr","html_url":"https://github.com/gaalandr","followers_url":"https://api.github.com/users/gaalandr/followers","following_url":"https://api.github.com/users/gaalandr/following{/other_user}","gists_url":"https://api.github.com/users/gaalandr/gists{/gist_id}","starred_url":"https://api.github.com/users/gaalandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaalandr/subscriptions","organizations_url":"https://api.github.com/users/gaalandr/orgs","repos_url":"https://api.github.com/users/gaalandr/repos","events_url":"https://api.github.com/users/gaalandr/events{/privacy}","received_events_url":"https://api.github.com/users/gaalandr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T17:48:34Z","updated_at":"2015-11-05T17:48:34Z","closed_at":null,"body":"To support swagger spec 2.0 the following fields have to be added to SerializableParameter and AbstractSerializableParameter\r\n\r\nSee spec 2.0 params: https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#parameterObject\r\n\r\nmissing fields:\r\n``` java\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor17.\r\n     */\r\n    public Number maximum;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor17\r\n     */\r\n    public Boolean exclusiveMaximum;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor21\r\n     */\r\n    public Number minimum;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor21\r\n     */\r\n    public Boolean exclusiveMinimum;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor26\r\n     */\r\n    public Integer maxLength;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor29\r\n     */\r\n    public Integer minLength;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor33\r\n     */\r\n    public String pattern;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor42\r\n     */\r\n    public Integer maxItems;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor45\r\n     */\r\n    public Integer minItems;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor49\r\n     */\r\n    public Boolean uniqueItems;\r\n    /**\r\n     * See http://json-schema.org/latest/json-schema-validation.html#anchor14\r\n     */\r\n    public Number multipleOf;\r\n```\r\nrecommended solution: https://github.com/swagger-api/swagger-core/pull/1524"}}