Commit Graph

14 Commits

Author SHA1 Message Date
Paul Padier 1fea1f8d19
Fix documentation of `additionalProperties` field when used with array parameters (#840)
* Fix typo in CHANGELOG

* Allow usage of additional_properties, deprecate additionalProperties

All other options are snake-cased rather than camel-cased, so this keeps things consistent.

* Ignore .byebug_history

* Add test covering additional_properties

* Fix additionalProperties for arrays of objects

* Fix settings additional_properties to false

* Handle receiving types and entities in additional_properties

This includes a fix to MoveParams.document_as_property for an issue found while testing these changes.

* Refactor to use Enumerable#any?

* Document additional_properties

* Update CHANGELOG
2021-10-21 21:43:06 +02:00
peter scholz 0ffec4d9f7 adds code coverage w/ Coveralls (#568)
- configure coveralls
-adds changelog entry
2017-01-15 16:39:32 +01: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
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
Peter Scholz 6b8c726608 adepts to new mrakdown handling 2016-01-19 10:29:36 +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
LeFnord 9a4dfe77e3 WIP: swagger2.0, cleanup spec 2015-10-04 20:05:22 +02:00
LeFnord e406abfe3c Update README.md 2015-09-24 19:08:24 +02:00
Antek Drzewiecki 499b8a410b Removed gemfile.lock from project 2014-08-14 15:47:56 +02:00
Joel Van Horn 9cd9a3d6b2 Ignore .project files 2013-12-05 17:47:16 -05:00
Tim Vandecasteele a76d7063b0 Adapt to rails plugin structure. 2012-07-19 11:21:00 +02:00
Tim Vandecasteele a7994925db Initial commit to grape-swagger. 2012-07-19 10:03:35 +02:00