File tree 3 files changed +3
-2
lines changed
service-types-generator/src/Components/Model
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ export const ServiceMetadata: _ServiceMetadata_ = {
9
9
serviceId : 'SQS' ,
10
10
signatureVersion : 'v4' ,
11
11
uid : 'sqs-2012-11-05' ,
12
- xmlNamespace : '[object Object]'
12
+ xmlNamespace : { "uri" : "http://queue.amazonaws.com/doc/2012-11-05/" }
13
13
} ;
14
14
export const clientVersion : string = '0.1.0-preview.2' ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export class ServiceMetadata {
8
8
let metadata = Object . keys ( this . metadata )
9
9
. sort ( )
10
10
. map ( ( key ) => {
11
+ if ( key === 'xmlNamespace' ) return `${ key } : ${ JSON . stringify ( this . metadata [ key ] ) } ` ;
11
12
return `${ key } : '${ ( this . metadata as any ) [ key ] } '` ;
12
13
} ) . join ( ',\n' ) ;
13
14
return `
Original file line number Diff line number Diff line change @@ -125,5 +125,5 @@ export interface ServiceMetadata {
125
125
/**
126
126
* Required for query services.
127
127
*/
128
- xmlNamespace ?: string ;
128
+ xmlNamespace ?: XmlNamespace ;
129
129
}
You can’t perform that action at this time.
0 commit comments