@@ -86,7 +86,7 @@ export class LogsIndexesApiRequestFactory extends BaseAPIRequestFactory {
86
86
const requestContext = _config
87
87
. getServer ( "v1.LogsIndexesApi.deleteLogsIndex" )
88
88
. makeRequestContext ( localVarPath , HttpMethod . DELETE ) ;
89
- requestContext . setHeaderParam ( "Accept" , "application/json " ) ;
89
+ requestContext . setHeaderParam ( "Accept" , "*/* " ) ;
90
90
requestContext . setHttpConfig ( _config . httpConfig ) ;
91
91
92
92
// Apply auth methods
@@ -359,16 +359,12 @@ export class LogsIndexesApiResponseProcessor {
359
359
* @params response Response returned by the server for a request to deleteLogsIndex
360
360
* @throws ApiException if the response code was not in [200, 299]
361
361
*/
362
- public async deleteLogsIndex ( response : ResponseContext ) : Promise < LogsIndex > {
362
+ public async deleteLogsIndex ( response : ResponseContext ) : Promise < void > {
363
363
const contentType = ObjectSerializer . normalizeMediaType (
364
364
response . headers [ "content-type" ]
365
365
) ;
366
366
if ( response . httpStatusCode === 200 ) {
367
- const body : LogsIndex = ObjectSerializer . deserialize (
368
- ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
369
- "LogsIndex"
370
- ) as LogsIndex ;
371
- return body ;
367
+ return ;
372
368
}
373
369
if ( response . httpStatusCode === 403 || response . httpStatusCode === 429 ) {
374
370
const bodyText = ObjectSerializer . parse (
@@ -416,11 +412,11 @@ export class LogsIndexesApiResponseProcessor {
416
412
417
413
// Work around for missing responses in specification, e.g. for petstore.yaml
418
414
if ( response . httpStatusCode >= 200 && response . httpStatusCode <= 299 ) {
419
- const body : LogsIndex = ObjectSerializer . deserialize (
415
+ const body : void = ObjectSerializer . deserialize (
420
416
ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
421
- "LogsIndex " ,
417
+ "void " ,
422
418
""
423
- ) as LogsIndex ;
419
+ ) as void ;
424
420
return body ;
425
421
}
426
422
@@ -878,7 +874,7 @@ export class LogsIndexesApi {
878
874
public deleteLogsIndex (
879
875
param : LogsIndexesApiDeleteLogsIndexRequest ,
880
876
options ?: Configuration
881
- ) : Promise < LogsIndex > {
877
+ ) : Promise < void > {
882
878
const requestContextPromise = this . requestFactory . deleteLogsIndex (
883
879
param . name ,
884
880
options
0 commit comments