@@ -412,7 +412,7 @@ export namespace ErrorResponse {
412412export interface Encoding {
413413 contentType ?: string ;
414414 headers ?: Record < string , any > ;
415- style ?: string ;
415+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
416416 explode ?: boolean ;
417417 allowReserved ?: boolean ;
418418}
@@ -585,7 +585,7 @@ export namespace ErrorResponse {
585585export interface Encoding {
586586 contentType ?: string ;
587587 headers ?: Record < string , any > ;
588- style ?: string ;
588+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
589589 explode ?: boolean ;
590590 allowReserved ?: boolean ;
591591}
@@ -1034,7 +1034,7 @@ export namespace ErrorResponse {
10341034export interface Encoding {
10351035 contentType ?: string ;
10361036 headers ?: Record < string , any > ;
1037- style ?: string ;
1037+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
10381038 explode ?: boolean ;
10391039 allowReserved ?: boolean ;
10401040}
@@ -1211,7 +1211,7 @@ export namespace ErrorResponse { }
12111211export interface Encoding {
12121212 contentType ?: string ;
12131213 headers ?: Record < string , any > ;
1214- style ?: string ;
1214+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
12151215 explode ?: boolean ;
12161216 allowReserved ?: boolean ;
12171217}
@@ -1373,7 +1373,7 @@ export namespace ErrorResponse {
13731373export interface Encoding {
13741374 contentType ?: string ;
13751375 headers ?: Record < string , any > ;
1376- style ?: string ;
1376+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
13771377 explode ?: boolean ;
13781378 allowReserved ?: boolean ;
13791379}
@@ -1441,7 +1441,7 @@ export class Client<RequestOption> {
14411441 " Content-Type" : " application/x-www-form-urlencoded" ,
14421442 Accept : " application/json"
14431443 } ;
1444- const requestEncodings = {
1444+ const requestEncodings: Record<string, Record<string, Encoding>> = {
14451445 " application/x-www-form-urlencoded" : {
14461446 " color" : {
14471447 " style" : " form" ,
@@ -1463,7 +1463,7 @@ export class Client<RequestOption> {
14631463 " Content-Type" : params .headers [" Content-Type" ],
14641464 Accept : " application/json"
14651465 } ;
1466- const requestEncodings = {
1466+ const requestEncodings: Record<string, Record<string, Encoding>> = {
14671467 " application/x-www-form-urlencoded" : {
14681468 " color" : {
14691469 " style" : " form" ,
@@ -1599,7 +1599,7 @@ export namespace ErrorResponse {
15991599export interface Encoding {
16001600 contentType ?: string ;
16011601 headers ?: Record < string , any > ;
1602- style ?: string ;
1602+ style ?: " form " | " spaceDelimited " | " pipeDelimited " | " deepObject " ;
16031603 explode ?: boolean ;
16041604 allowReserved ?: boolean ;
16051605}
0 commit comments