Commit Graph

8 Commits

Author SHA1 Message Date
peter scholz 57947d308e accepts string as entity (#527)
- adds changelog entry
- requires min version of rubocop
2016-10-31 12:14:08 +01:00
Wojciech Korzeniowski 7061fd1b75 Response model can have required attributes (#521)
* Response model can have required attributes

* Reorganize implementation

* Fix RuboCop offences

* Last touch of refactor
2016-10-14 11:56:33 +02:00
Sergey A. Glukhov d7b7465a95 fix incorrect data type linking for request params of entity types (#511) 2016-10-13 23:06:03 +02:00
Andrew Schuster 611572f3cb Include documented Hashes (#454)
* Fix logic for mapping Hash and Array objects to refs

* Add tests to account for documented Hashes and Arrays

* Do not include readOnly params in request definitions

* Test for new documentation behavior

* Update changelog [ci skip]

* Use respond_to? instead of try for earlier compliance

* Use proper url for changelog
2016-06-14 08:12:46 -04:00
Andrew Schuster dd4ba4a1af Add 'summary' for further object compliance with OpenAPI v2 (#434) 2016-05-23 09:23:16 +02:00
Sergey Nartimov 9bbac46776 Support recursive models
The model can reference itself in some cases, e.g., when representing a
tree structure.
2016-05-11 19:49:45 +03:00
dblock 76025377bd Upgraded RuboCop to 0.40.0. 2016-05-10 16:01:13 -04:00
Kirill Zaitsev f4a0c15687 Move model parsing logic outside grape-swagger 2016-05-10 21:59:15 +03:00