Skip to content

Conversation

@fotos
Copy link
Contributor

@fotos fotos commented Dec 5, 2018

Adds support for body_name in desc block.

Already described in grape-swagger.

Related to #1791.

@dblock dblock merged commit 7413b7e into ruby-grape:master Dec 5, 2018
@dblock
Copy link
Member

dblock commented Dec 5, 2018

I am wondering whether some of this should be configurable or externalized or more dynamic so that future things don't need these changes? But maybe I'm overthinking it.

@fotos fotos deleted the support-body_name-in-desc-block branch December 5, 2018 14:50
@fotos
Copy link
Contributor Author

fotos commented Dec 5, 2018

I made a similar thought but then again this should be a one-off migration from the (deprecated) options hash to the block syntax. I don't know how often these options change and whether making them configurable is justified.

@LeFnord
Copy link
Member

LeFnord commented Dec 7, 2018

Hi @fotos … this deprecation stuff is in since a while, so thanks to have an eye

… can it also be done, by making it possible to overwrite desc_containe from another gem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants