Commit Graph

31 Commits

Author SHA1 Message Date
charanpanchagnula 4573a82777 Allow multiple success responses (#747)
* Allow multiple success responses - Issue# 674

* Adding documentation in README for multiple values in success for response

* Making a slight change in the documentation
2019-06-19 19:39:40 +02:00
Fotos Georgiadis 5e2329e339 Skip empty parameters and tags arrays (#731)
* Skip empty parameters arrays

* Skip empty tags arrays

* Update CHANGELOG
2018-12-07 20:29:22 +01:00
Fotos Georgiadis 4777b87ad0 Allow empty security array for endpoints (#729) 2018-12-07 10:52:01 -05:00
Owen Ben Davies 3057a2c9ec Make route summary optional (#667)
Resolves #661

Currently if no summary is provided, grape-swagger uses the description.
This creates needless duplicate fields. As summary is an optional field
this changes functionality so summary is only populated if specifically
needed.

Reference https://swagger.io/specification/
2018-03-17 14:45:07 +01:00
peter scholz 1ede5c4f7f prepare 0.27.0 (#598)
- updates dependencies
- makes rubocop 0.48 happy
2017-03-28 11:15:33 +02:00
peter scholz 2df7dbeaf1 issue #590: fixes rubocop offences (#595) 2017-03-08 09:32:31 +01:00
peter scholz 756feb5f70 fixes body array params (#464)
- adds chengelog entry
2016-07-04 17:42:28 +02:00
Andrew Schuster dd4ba4a1af Add 'summary' for further object compliance with OpenAPI v2 (#434) 2016-05-23 09:23:16 +02: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
dblock a4bbb7c651 Restored support for Ruby 2.1. 2016-05-06 15:37:41 -04:00
peter scholz 13d0900e86 force usage of entities for response definition (#406) 2016-05-01 12:31:44 +02:00
peter scholz eb1f283c6e corrects documentation of versions (#405) 2016-04-30 11:27:05 +02:00
peter scholz 634d804d66 makes param description optional (#399) 2016-04-24 21:44:33 +02:00
Bill Leeper 996491f9c2 Make default schemes undefined to match Swagger Spec
* There is already code to handle the scenario where the scheme is
provided as a parameter.
2016-04-14 13:43:08 -06:00
Peter Scholz 978073116a 2. part of param type `body` handling 2016-04-09 01:19:20 +02:00
Peter Scholz 41b495839c 1. part of param type `body` handling 2016-04-07 02:06:29 +02:00
Peter Scholz 18401c8ce1 some more parameter corrections 2016-04-01 09:28:51 +02:00
Peter Scholz bc1bb978be fixes documentation of array type 2016-03-30 00:43:33 +02:00
Peter Scholz 168146d452 adds format to definition property type 2016-03-25 14:00:14 +01:00
Peter Scholz 8d6d04afa2 removes `allowMultiple`, not in spec 2016-03-18 19:48:13 +01:00
peter scholz 8b9825d0e9 Update CHANGELOG.md 2016-03-17 11:20:34 +01:00
Peter Scholz 3a97ec1524 same refactoring 2016-03-16 12:13:44 +01:00
Peter Scholz be7ccfa210 improvements 2016-03-15 17:53:03 +01:00
elias hasnat a93ffdb588 Namespace based tags groups 2016-03-13 15:04:27 +01:00
Dave Allie 15af604e4c Fix: Allow is_array for nested entities with with documentation 2016-03-13 15:04:27 +01:00
Peter Scholz cd9bea8ca6 upgrades to grape 0.14.x; grape-entity 0.5.x 2016-03-13 15:04:26 +01:00
Peter Scholz c07a60285f corrects documenting of route parameters 2015-12-18 18:41:50 +01:00
Peter Scholz 12b82c4360 cleans up code 2015-12-17 23:52:30 +01:00
Peter Scholz 9b813a2404 readds model to definitions 2015-12-11 02:35:02 +01:00
Peter Scholz eab66e0479 updates grape, corrects creation of definitions 2015-12-09 13:54:53 +01:00