@@ -53,7 +53,7 @@ export class ApiEndpoints {
5353 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
5454
5555 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
56- const res : operations . DeleteApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
56+ const res : operations . DeleteApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
5757 switch ( true ) {
5858 case httpRes ?. status == 200 :
5959 break ;
@@ -106,7 +106,7 @@ export class ApiEndpoints {
106106 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
107107
108108 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
109- const res : operations . FindApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
109+ const res : operations . FindApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
110110 switch ( true ) {
111111 case httpRes ?. status == 200 :
112112 if ( utils . matchContentType ( contentType , `application/json` ) ) {
@@ -166,7 +166,7 @@ export class ApiEndpoints {
166166 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
167167
168168 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
169- const res : operations . GenerateOpenApiSpecForApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
169+ const res : operations . GenerateOpenApiSpecForApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
170170 switch ( true ) {
171171 case httpRes ?. status == 200 :
172172 if ( utils . matchContentType ( contentType , `application/json` ) ) {
@@ -225,7 +225,7 @@ export class ApiEndpoints {
225225 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
226226
227227 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
228- const res : operations . GeneratePostmanCollectionForApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
228+ const res : operations . GeneratePostmanCollectionForApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
229229 switch ( true ) {
230230 case httpRes ?. status == 200 :
231231 if ( utils . matchContentType ( contentType , `application/octet-stream` ) ) {
@@ -281,7 +281,7 @@ export class ApiEndpoints {
281281 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
282282
283283 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
284- const res : operations . GetAllApiEndpointsResponse = { statusCode : httpRes . status , contentType : contentType } ;
284+ const res : operations . GetAllApiEndpointsResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
285285 switch ( true ) {
286286 case httpRes ?. status == 200 :
287287 if ( utils . matchContentType ( contentType , `application/json` ) ) {
@@ -334,7 +334,7 @@ export class ApiEndpoints {
334334 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
335335
336336 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
337- const res : operations . GetAllForVersionApiEndpointsResponse = { statusCode : httpRes . status , contentType : contentType } ;
337+ const res : operations . GetAllForVersionApiEndpointsResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
338338 switch ( true ) {
339339 case httpRes ?. status == 200 :
340340 if ( utils . matchContentType ( contentType , `application/json` ) ) {
@@ -387,7 +387,7 @@ export class ApiEndpoints {
387387 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
388388
389389 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
390- const res : operations . GetApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
390+ const res : operations . GetApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
391391 switch ( true ) {
392392 case httpRes ?. status == 200 :
393393 if ( utils . matchContentType ( contentType , `application/json` ) ) {
@@ -458,7 +458,7 @@ export class ApiEndpoints {
458458 const contentType : string = httpRes ?. headers ?. [ "content-type" ] ?? "" ;
459459
460460 if ( httpRes ?. status == null ) throw new Error ( `status code not found in response: ${ httpRes } ` ) ;
461- const res : operations . UpsertApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType } ;
461+ const res : operations . UpsertApiEndpointResponse = { statusCode : httpRes . status , contentType : contentType , rawResponse : httpRes , } ;
462462 switch ( true ) {
463463 case httpRes ?. status == 200 :
464464 if ( utils . matchContentType ( contentType , `application/json` ) ) {
0 commit comments