updateResponse method

SwaggerPath updateResponse(
  1. SwaggerPath other
)

Implementation

SwaggerPath updateResponse(SwaggerPath other) {
  return copyWith(
    responses: responses.replace(other.responses.first),
    summary: other.summary,
    queryParams: other.queryParams,
    requestBody: other.requestBody,
  );
}