grape-swagger/spec
Paul Padier 1a3e3f5889
Allow using nicknames for body definitions (#862)
* Fix typo

* Refactor MoveParams.parent_definition_of_params to use OperationId.build rather than OperationId.manipulate

This means it'll use route nicknames if those are available. It also means route parameters will be used in the definition names.

* Simplify MoveParams.build_body_parameter

MoveParams.build_definition returns the passed in name, so name and referenced_definition were always the same value.

* Fix Rubocop offenses

* Fix old reference to Travis CI in CONTRIBUTING

* Fix CHANGELOG

* Update CHANGELOG and UPGRADING
2022-07-26 09:44:42 +02:00
..
issues Allow using nicknames for body definitions (#862) 2022-07-26 09:44:42 +02:00
lib Allow using nicknames for body definitions (#862) 2022-07-26 09:44:42 +02:00
support Examples in body params (#833) 2021-09-15 10:56:18 +02:00
swagger_v2 Allow using nicknames for body definitions (#862) 2022-07-26 09:44:42 +02:00
spec_helper.rb Makes rubocop happy. (#848) 2022-02-27 01:39:56 +01:00
version_spec.rb prepare 0.27.0 (#598) 2017-03-28 11:15:33 +02:00