intridea/grape — pull request #673 by qqshfox (2014-07-04 08:24:47+00:00)
Title: avoid requiring a non-existent field

When `requires :none, except: :non_existent_field, using: documentation`, it may generate the params like this

```
{
"paramType": "form",
"name": "non_existent_field",
"description": null,
"type": "String",
"dataType": "String",
"required": true
},
{
"paramType": "path",
"name": "",
"description": null,
"type": "String",
"dataType": "String",
"required": true
},
{
"paramType": "form",
"name": "required_field",
"description": null,
"type": "String",
"dataType": "String",
"required": false
}
```