@@ -7,230 +7,230 @@ export const client = createClient(createConfig());
7
7
8
8
export const serviceWithEmptyTag = < ThrowOnError extends boolean = false > ( options ?: Options < ServiceWithEmptyTagData , ThrowOnError > ) => {
9
9
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
10
- ... options ,
11
- url : '/api/v{api-version}/no-tag'
10
+ url : '/api/v{api-version}/no-tag' ,
11
+ ... options
12
12
} ) ;
13
13
} ;
14
14
15
15
export const deleteCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < DeleteCallWithoutParametersAndResponseData , ThrowOnError > ) => {
16
16
return ( options ?. client ?? client ) . delete < unknown , unknown , ThrowOnError > ( {
17
- ... options ,
18
- url : '/api/v{api-version}/simple'
17
+ url : '/api/v{api-version}/simple' ,
18
+ ... options
19
19
} ) ;
20
20
} ;
21
21
22
22
export const getCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < GetCallWithoutParametersAndResponseData , ThrowOnError > ) => {
23
23
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
24
- ... options ,
25
- url : '/api/v{api-version}/simple'
24
+ url : '/api/v{api-version}/simple' ,
25
+ ... options
26
26
} ) ;
27
27
} ;
28
28
29
29
export const headCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < HeadCallWithoutParametersAndResponseData , ThrowOnError > ) => {
30
30
return ( options ?. client ?? client ) . head < unknown , unknown , ThrowOnError > ( {
31
- ... options ,
32
- url : '/api/v{api-version}/simple'
31
+ url : '/api/v{api-version}/simple' ,
32
+ ... options
33
33
} ) ;
34
34
} ;
35
35
36
36
export const optionsCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < OptionsCallWithoutParametersAndResponseData , ThrowOnError > ) => {
37
37
return ( options ?. client ?? client ) . options < unknown , unknown , ThrowOnError > ( {
38
- ... options ,
39
- url : '/api/v{api-version}/simple'
38
+ url : '/api/v{api-version}/simple' ,
39
+ ... options
40
40
} ) ;
41
41
} ;
42
42
43
43
export const patchCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < PatchCallWithoutParametersAndResponseData , ThrowOnError > ) => {
44
44
return ( options ?. client ?? client ) . patch < unknown , unknown , ThrowOnError > ( {
45
- ... options ,
46
- url : '/api/v{api-version}/simple'
45
+ url : '/api/v{api-version}/simple' ,
46
+ ... options
47
47
} ) ;
48
48
} ;
49
49
50
50
export const postCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < PostCallWithoutParametersAndResponseData , ThrowOnError > ) => {
51
51
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
52
- ... options ,
53
- url : '/api/v{api-version}/simple'
52
+ url : '/api/v{api-version}/simple' ,
53
+ ... options
54
54
} ) ;
55
55
} ;
56
56
57
57
export const putCallWithoutParametersAndResponse = < ThrowOnError extends boolean = false > ( options ?: Options < PutCallWithoutParametersAndResponseData , ThrowOnError > ) => {
58
58
return ( options ?. client ?? client ) . put < unknown , unknown , ThrowOnError > ( {
59
- ... options ,
60
- url : '/api/v{api-version}/simple'
59
+ url : '/api/v{api-version}/simple' ,
60
+ ... options
61
61
} ) ;
62
62
} ;
63
63
64
64
export const callWithDescriptions = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithDescriptionsData , ThrowOnError > ) => {
65
65
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
66
- ... options ,
67
- url : '/api/v{api-version}/descriptions/'
66
+ url : '/api/v{api-version}/descriptions/' ,
67
+ ... options
68
68
} ) ;
69
69
} ;
70
70
71
71
export const callWithParameters = < ThrowOnError extends boolean = false > ( options : Options < CallWithParametersData , ThrowOnError > ) => {
72
72
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
73
- ... options ,
74
- url : '/api/v{api-version}/parameters/{parameterPath}'
73
+ url : '/api/v{api-version}/parameters/{parameterPath}' ,
74
+ ... options
75
75
} ) ;
76
76
} ;
77
77
78
78
export const callWithWeirdParameterNames = < ThrowOnError extends boolean = false > ( options : Options < CallWithWeirdParameterNamesData , ThrowOnError > ) => {
79
79
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
80
- ... options ,
81
- url : '/api/v{api-version}/parameters/{parameter.path.1}/{parameter-path-2}/{PARAMETER-PATH-3}'
80
+ url : '/api/v{api-version}/parameters/{parameter.path.1}/{parameter-path-2}/{PARAMETER-PATH-3}' ,
81
+ ... options
82
82
} ) ;
83
83
} ;
84
84
85
85
export const callWithDefaultParameters = < ThrowOnError extends boolean = false > ( options : Options < CallWithDefaultParametersData , ThrowOnError > ) => {
86
86
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
87
- ... options ,
88
- url : '/api/v{api-version}/defaults'
87
+ url : '/api/v{api-version}/defaults' ,
88
+ ... options
89
89
} ) ;
90
90
} ;
91
91
92
92
export const callWithDefaultOptionalParameters = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithDefaultOptionalParametersData , ThrowOnError > ) => {
93
93
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
94
- ... options ,
95
- url : '/api/v{api-version}/defaults'
94
+ url : '/api/v{api-version}/defaults' ,
95
+ ... options
96
96
} ) ;
97
97
} ;
98
98
99
99
export const callToTestOrderOfParams = < ThrowOnError extends boolean = false > ( options : Options < CallToTestOrderOfParamsData , ThrowOnError > ) => {
100
100
return ( options ?. client ?? client ) . put < unknown , unknown , ThrowOnError > ( {
101
- ... options ,
102
- url : '/api/v{api-version}/defaults'
101
+ url : '/api/v{api-version}/defaults' ,
102
+ ... options
103
103
} ) ;
104
104
} ;
105
105
106
106
export const duplicateName = < ThrowOnError extends boolean = false > ( options ?: Options < DuplicateNameData , ThrowOnError > ) => {
107
107
return ( options ?. client ?? client ) . delete < unknown , unknown , ThrowOnError > ( {
108
- ... options ,
109
- url : '/api/v{api-version}/duplicate'
108
+ url : '/api/v{api-version}/duplicate' ,
109
+ ... options
110
110
} ) ;
111
111
} ;
112
112
113
113
export const duplicateName2 = < ThrowOnError extends boolean = false > ( options ?: Options < DuplicateName2Data , ThrowOnError > ) => {
114
114
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
115
- ... options ,
116
- url : '/api/v{api-version}/duplicate'
115
+ url : '/api/v{api-version}/duplicate' ,
116
+ ... options
117
117
} ) ;
118
118
} ;
119
119
120
120
export const duplicateName3 = < ThrowOnError extends boolean = false > ( options ?: Options < DuplicateName3Data , ThrowOnError > ) => {
121
121
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
122
- ... options ,
123
- url : '/api/v{api-version}/duplicate'
122
+ url : '/api/v{api-version}/duplicate' ,
123
+ ... options
124
124
} ) ;
125
125
} ;
126
126
127
127
export const duplicateName4 = < ThrowOnError extends boolean = false > ( options ?: Options < DuplicateName4Data , ThrowOnError > ) => {
128
128
return ( options ?. client ?? client ) . put < unknown , unknown , ThrowOnError > ( {
129
- ... options ,
130
- url : '/api/v{api-version}/duplicate'
129
+ url : '/api/v{api-version}/duplicate' ,
130
+ ... options
131
131
} ) ;
132
132
} ;
133
133
134
134
export const callWithNoContentResponse = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithNoContentResponseData , ThrowOnError > ) => {
135
135
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
136
- ... options ,
137
- url : '/api/v{api-version}/no-content'
136
+ url : '/api/v{api-version}/no-content' ,
137
+ ... options
138
138
} ) ;
139
139
} ;
140
140
141
141
export const callWithResponseAndNoContentResponse = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithResponseAndNoContentResponseData , ThrowOnError > ) => {
142
142
return ( options ?. client ?? client ) . get < CallWithResponseAndNoContentResponseResponse , unknown , ThrowOnError > ( {
143
- ... options ,
144
- url : '/api/v{api-version}/multiple-tags/response-and-no-content'
143
+ url : '/api/v{api-version}/multiple-tags/response-and-no-content' ,
144
+ ... options
145
145
} ) ;
146
146
} ;
147
147
148
148
export const dummyA = < ThrowOnError extends boolean = false > ( options ?: Options < DummyAData , ThrowOnError > ) => {
149
149
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
150
- ... options ,
151
- url : '/api/v{api-version}/multiple-tags/a'
150
+ url : '/api/v{api-version}/multiple-tags/a' ,
151
+ ... options
152
152
} ) ;
153
153
} ;
154
154
155
155
export const dummyB = < ThrowOnError extends boolean = false > ( options ?: Options < DummyBData , ThrowOnError > ) => {
156
156
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
157
- ... options ,
158
- url : '/api/v{api-version}/multiple-tags/b'
157
+ url : '/api/v{api-version}/multiple-tags/b' ,
158
+ ... options
159
159
} ) ;
160
160
} ;
161
161
162
162
export const callWithResponse = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithResponseData , ThrowOnError > ) => {
163
163
return ( options ?. client ?? client ) . get < CallWithResponseResponse , unknown , ThrowOnError > ( {
164
- ... options ,
165
- url : '/api/v{api-version}/response'
164
+ url : '/api/v{api-version}/response' ,
165
+ ... options
166
166
} ) ;
167
167
} ;
168
168
169
169
export const callWithDuplicateResponses = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithDuplicateResponsesData , ThrowOnError > ) => {
170
170
return ( options ?. client ?? client ) . post < CallWithDuplicateResponsesResponse , CallWithDuplicateResponsesError , ThrowOnError > ( {
171
- ... options ,
172
- url : '/api/v{api-version}/response'
171
+ url : '/api/v{api-version}/response' ,
172
+ ... options
173
173
} ) ;
174
174
} ;
175
175
176
176
export const callWithResponses = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithResponsesData , ThrowOnError > ) => {
177
177
return ( options ?. client ?? client ) . put < CallWithResponsesResponse , CallWithResponsesError , ThrowOnError > ( {
178
- ... options ,
179
- url : '/api/v{api-version}/response'
178
+ url : '/api/v{api-version}/response' ,
179
+ ... options
180
180
} ) ;
181
181
} ;
182
182
183
183
export const collectionFormat = < ThrowOnError extends boolean = false > ( options : Options < CollectionFormatData , ThrowOnError > ) => {
184
184
return ( options ?. client ?? client ) . get < unknown , unknown , ThrowOnError > ( {
185
- ...options ,
186
185
querySerializer : {
187
186
array : {
188
187
explode : false ,
189
188
style : 'form'
190
189
}
191
190
} ,
192
- url : '/api/v{api-version}/collectionFormat'
191
+ url : '/api/v{api-version}/collectionFormat' ,
192
+ ...options
193
193
} ) ;
194
194
} ;
195
195
196
196
export const types = < ThrowOnError extends boolean = false > ( options : Options < TypesData , ThrowOnError > ) => {
197
197
return ( options ?. client ?? client ) . get < TypesResponse , unknown , ThrowOnError > ( {
198
- ...options ,
199
198
querySerializer : {
200
199
array : {
201
200
explode : false ,
202
201
style : 'form'
203
202
}
204
203
} ,
205
- url : '/api/v{api-version}/types'
204
+ url : '/api/v{api-version}/types' ,
205
+ ...options
206
206
} ) ;
207
207
} ;
208
208
209
209
export const complexTypes = < ThrowOnError extends boolean = false > ( options : Options < ComplexTypesData , ThrowOnError > ) => {
210
210
return ( options ?. client ?? client ) . get < ComplexTypesResponse , unknown , ThrowOnError > ( {
211
- ... options ,
212
- url : '/api/v{api-version}/complex'
211
+ url : '/api/v{api-version}/complex' ,
212
+ ... options
213
213
} ) ;
214
214
} ;
215
215
216
216
export const callWithResultFromHeader = < ThrowOnError extends boolean = false > ( options ?: Options < CallWithResultFromHeaderData , ThrowOnError > ) => {
217
217
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
218
- ... options ,
219
- url : '/api/v{api-version}/header'
218
+ url : '/api/v{api-version}/header' ,
219
+ ... options
220
220
} ) ;
221
221
} ;
222
222
223
223
export const testErrorCode = < ThrowOnError extends boolean = false > ( options : Options < TestErrorCodeData , ThrowOnError > ) => {
224
224
return ( options ?. client ?? client ) . post < unknown , unknown , ThrowOnError > ( {
225
- ... options ,
226
- url : '/api/v{api-version}/error'
225
+ url : '/api/v{api-version}/error' ,
226
+ ... options
227
227
} ) ;
228
228
} ;
229
229
230
230
export const nonAsciiæøåÆøÅöôêÊ字符串 = < ThrowOnError extends boolean = false > ( options : Options < NonAsciiæøåÆøÅöôêÊ字符串Data , ThrowOnError > ) => {
231
231
return ( options ?. client ?? client ) . post < NonAsciiæøåÆøÅöôêÊ字符串Response , unknown , ThrowOnError > ( {
232
- ... options ,
233
- url : '/api/v{api-version}/non-ascii-æøåÆØÅöôêÊ字符串'
232
+ url : '/api/v{api-version}/non-ascii-æøåÆØÅöôêÊ字符串' ,
233
+ ... options
234
234
} ) ;
235
235
} ;
236
236
@@ -240,11 +240,11 @@ export const nonAsciiæøåÆøÅöôêÊ字符串 = <ThrowOnError extends boole
240
240
*/
241
241
export const postApiVbyApiVersionBody = < ThrowOnError extends boolean = false > ( options : Options < PostApiVbyApiVersionBodyData , ThrowOnError > ) => {
242
242
return ( options ?. client ?? client ) . post < PostApiVbyApiVersionBodyResponse , PostApiVbyApiVersionBodyError , ThrowOnError > ( {
243
+ url : '/api/v{api-version}/body' ,
243
244
...options ,
244
245
headers : {
245
246
'Content-Type' : 'application/json' ,
246
247
...options ?. headers
247
- } ,
248
- url : '/api/v{api-version}/body'
248
+ }
249
249
} ) ;
250
250
} ;
0 commit comments