Skip to content
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

FR: Allow to preprocess description (and perhaps others) field before returning it. #51

Open
mwawrusch opened this issue Oct 21, 2015 · 0 comments

Comments

@mwawrusch
Copy link

Basically, what I would like to do is modifying the description of a route before swagger sends it out, to add some information that can be automatically generated but is not exposed in swagger, like a sentence to remind users that they can paginate through a collection, that kind of stuff.

So for example, the description of the route has "Returns list of customers", and there would be a filter function provided by us; function (routeData...) { return routeData.description + " You can paginate through...." ; }

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

No branches or pull requests

1 participant