in order to deal with this potential additional level of indirection the swagger schema is normalized with respect to the responses defs before the existing algorithm is triggered
inline response types will be removed and be replaced an explicit response type definition (either using an existing response type name) or generating it for the corresponding endpoint, method, and response code
this will also improve the response type definitions from something like ResponseWithBody < 200, object > to a more meaningful declaration like: ResponseWithBody < 200, Response_findById_200 >
swagger
supports the definition of sharedresponses
objects which can be ref'ed by several endpointsresponses
defs before the existing algorithm is triggeredE.g. sample input schema:
gets normalized to:
ResponseWithBody < 200, object >
to a more meaningful declaration like:ResponseWithBody < 200, Response_findById_200 >