@@ -578,8 +578,8 @@ func (a *AtlasSearchApiService) CreateAtlasSearchDeploymentExecute(r CreateAtlas
578578		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
579579	}
580580
581- 	// to determine the Accept header 
582- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
581+ 	// to determine the Accept header (only first one)  
582+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
583583
584584	// set Accept header 
585585	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -704,8 +704,8 @@ func (a *AtlasSearchApiService) CreateAtlasSearchIndexExecute(r CreateAtlasSearc
704704		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
705705	}
706706
707- 	// to determine the Accept header 
708- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
707+ 	// to determine the Accept header (only first one)  
708+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
709709
710710	// set Accept header 
711711	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -834,8 +834,8 @@ func (a *AtlasSearchApiService) CreateAtlasSearchIndexDeprecatedExecute(r Create
834834		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
835835	}
836836
837- 	// to determine the Accept header 
838- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" ,  "application/json" }
837+ 	// to determine the Accept header (only first one)  
838+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" }
839839
840840	// set Accept header 
841841	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -953,8 +953,8 @@ func (a *AtlasSearchApiService) DeleteAtlasSearchDeploymentExecute(r DeleteAtlas
953953		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
954954	}
955955
956- 	// to determine the Accept header 
957- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
956+ 	// to determine the Accept header (only first one)  
957+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
958958
959959	// set Accept header 
960960	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1076,8 +1076,8 @@ func (a *AtlasSearchApiService) DeleteAtlasSearchIndexExecute(r DeleteAtlasSearc
10761076		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
10771077	}
10781078
1079- 	// to determine the Accept header 
1080- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1079+ 	// to determine the Accept header (only first one)  
1080+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
10811081
10821082	// set Accept header 
10831083	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1211,8 +1211,8 @@ func (a *AtlasSearchApiService) DeleteAtlasSearchIndexByNameExecute(r DeleteAtla
12111211		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
12121212	}
12131213
1214- 	// to determine the Accept header 
1215- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1214+ 	// to determine the Accept header (only first one)  
1215+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
12161216
12171217	// set Accept header 
12181218	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1338,8 +1338,8 @@ func (a *AtlasSearchApiService) DeleteAtlasSearchIndexDeprecatedExecute(r Delete
13381338		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
13391339	}
13401340
1341- 	// to determine the Accept header 
1342- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" ,  "application/json" }
1341+ 	// to determine the Accept header (only first one)  
1342+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" }
13431343
13441344	// set Accept header 
13451345	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1455,8 +1455,8 @@ func (a *AtlasSearchApiService) GetAtlasSearchDeploymentExecute(r GetAtlasSearch
14551455		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
14561456	}
14571457
1458- 	// to determine the Accept header 
1459- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1458+ 	// to determine the Accept header (only first one)  
1459+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
14601460
14611461	// set Accept header 
14621462	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1578,8 +1578,8 @@ func (a *AtlasSearchApiService) GetAtlasSearchIndexExecute(r GetAtlasSearchIndex
15781578		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
15791579	}
15801580
1581- 	// to determine the Accept header 
1582- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1581+ 	// to determine the Accept header (only first one)  
1582+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
15831583
15841584	// set Accept header 
15851585	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1713,8 +1713,8 @@ func (a *AtlasSearchApiService) GetAtlasSearchIndexByNameExecute(r GetAtlasSearc
17131713		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
17141714	}
17151715
1716- 	// to determine the Accept header 
1717- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1716+ 	// to determine the Accept header (only first one)  
1717+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
17181718
17191719	// set Accept header 
17201720	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1840,8 +1840,8 @@ func (a *AtlasSearchApiService) GetAtlasSearchIndexDeprecatedExecute(r GetAtlasS
18401840		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
18411841	}
18421842
1843- 	// to determine the Accept header 
1844- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" ,  "application/json" }
1843+ 	// to determine the Accept header (only first one)  
1844+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" }
18451845
18461846	// set Accept header 
18471847	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -1969,8 +1969,8 @@ func (a *AtlasSearchApiService) ListAtlasSearchIndexesExecute(r ListAtlasSearchI
19691969		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
19701970	}
19711971
1972- 	// to determine the Accept header 
1973- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
1972+ 	// to determine the Accept header (only first one)  
1973+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
19741974
19751975	// set Accept header 
19761976	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2086,8 +2086,8 @@ func (a *AtlasSearchApiService) ListAtlasSearchIndexesClusterExecute(r ListAtlas
20862086		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
20872087	}
20882088
2089- 	// to determine the Accept header 
2090- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
2089+ 	// to determine the Accept header (only first one)  
2090+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
20912091
20922092	// set Accept header 
20932093	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2219,8 +2219,8 @@ func (a *AtlasSearchApiService) ListAtlasSearchIndexesDeprecatedExecute(r ListAt
22192219		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
22202220	}
22212221
2222- 	// to determine the Accept header 
2223- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" ,  "application/json" }
2222+ 	// to determine the Accept header (only first one)  
2223+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" }
22242224
22252225	// set Accept header 
22262226	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2343,8 +2343,8 @@ func (a *AtlasSearchApiService) UpdateAtlasSearchDeploymentExecute(r UpdateAtlas
23432343		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
23442344	}
23452345
2346- 	// to determine the Accept header 
2347- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
2346+ 	// to determine the Accept header (only first one)  
2347+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
23482348
23492349	// set Accept header 
23502350	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2475,8 +2475,8 @@ func (a *AtlasSearchApiService) UpdateAtlasSearchIndexExecute(r UpdateAtlasSearc
24752475		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
24762476	}
24772477
2478- 	// to determine the Accept header 
2479- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
2478+ 	// to determine the Accept header (only first one)  
2479+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
24802480
24812481	// set Accept header 
24822482	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2619,8 +2619,8 @@ func (a *AtlasSearchApiService) UpdateAtlasSearchIndexByNameExecute(r UpdateAtla
26192619		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
26202620	}
26212621
2622- 	// to determine the Accept header 
2623- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" ,  "application/json" }
2622+ 	// to determine the Accept header (only first one)  
2623+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2024-05-30+json" }
26242624
26252625	// set Accept header 
26262626	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
@@ -2755,8 +2755,8 @@ func (a *AtlasSearchApiService) UpdateAtlasSearchIndexDeprecatedExecute(r Update
27552755		localVarHeaderParams ["Content-Type" ] =  localVarHTTPContentType 
27562756	}
27572757
2758- 	// to determine the Accept header 
2759- 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" ,  "application/json" }
2758+ 	// to determine the Accept header (only first one)  
2759+ 	localVarHTTPHeaderAccepts  :=  []string {"application/vnd.atlas.2023-01-01+json" }
27602760
27612761	// set Accept header 
27622762	localVarHTTPHeaderAccept  :=  selectHeaderAccept (localVarHTTPHeaderAccepts )
0 commit comments