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.
SylorHuang
828ac000e0
|
6 years ago | |
---|---|---|
.. | ||
example | 6 years ago | |
lib | 6 years ago | |
spec | 6 years ago | |
.document | 6 years ago | |
.gitignore | 6 years ago | |
.rakeTasks | 6 years ago | |
.rspec | 6 years ago | |
.rubocop.yml | 6 years ago | |
.rubocop_todo.yml | 6 years ago | |
.ruby-gemset | 6 years ago | |
.travis.yml | 6 years ago | |
CHANGELOG.md | 6 years ago | |
CONTRIBUTING.md | 6 years ago | |
Dangerfile | 6 years ago | |
Gemfile | 6 years ago | |
LICENSE.txt | 6 years ago | |
README.md | 6 years ago | |
RELEASING.md | 6 years ago | |
Rakefile | 6 years ago | |
UPGRADING.md | 6 years ago | |
grape-swagger.gemspec | 6 years ago |
README.md
说明
修改记录
- 修改文件 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'