You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/lib/grape-swagger-0.25.3/README.md

20 lines
268 B

6 years ago
## 说明
### 修改记录
1. 修改文件
lib/grape-swagger/doc_methods/parse_params.rb:101
```
DataType.request_primitive?(value_type[:data_type]) ? 'formData' : 'body'
```
改为
```
DataType.request_primitive?(value_type[:data_type]) ? 'body' : 'body'
```