-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for documentation fields #4
Comments
Does this implement https://github.com/tim-vandecasteele/grape-swagger/issues/121? |
@taybin Mostly, yes. |
How can I use your code to document the swagger model - I can't really get it to work. The representer shows up in the grape documentation but both type and description are missing for the defined properties… Update: Got it! The documentation method has to look like this (the documentation values are stored under attribute[:documentation]):
|
Would love it if someone turned this into production code :) |
👍 |
Grape exposures give you
entity_name
,exposures
anddocumentation
. We can add those for out-of-the-box support for https://github.com/tim-vandecasteele/grape-swagger.The text was updated successfully, but these errors were encountered: