Closed RotemBot closed 4 years ago
I have the same problem! @theo4u, will be glad to your help!
@theo4u Could we have possibility to customize (override) model parameters as we do it in body?
yeah, need to find a good way to allow users to pass in these params for response here:https://github.com/theo4u/sails-hook-swagger-generator/blob/a5e58a645333d5c8b5e1026acc83de834f1888a6/lib/generators.js#L264
@theo4u Can we expect that you implement it in the near future?
@sudograce yeah very soon, trying to create space for most of the fixes
should be fixed in #58
How can I customize responses? Change error codes, display custom error messages and show the structure of a returned object.
For now, all of my responses in Swagger UI look like this: