Skip to content

Commit 2ae5ab0

Browse files
author
Jochen Diekenbrock
committed
Merge branch 'fix-content-type-with-charset' into fix-consumes-test/plain
# Conflicts: # tests/schemas/v2.0/api-with-examples.yaml
2 parents 10f19cf + 4f7fc5d commit 2ae5ab0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/generated/v2.0/api-with-examples.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,21 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
253253
...params,
254254
}),
255255
};
256+
withCharset = {
257+
/**
258+
* @description consumes contains charset
259+
*
260+
* @name WithCharset
261+
* @summary consumes contains charset
262+
* @request POST:/with-charset/
263+
*/
264+
withCharset: (someParm: string, params: RequestParams = {}) =>
265+
this.request<any, void>({
266+
path: `/with-charset/`,
267+
method: "POST",
268+
body: someParm,
269+
type: ContentType.Json,
270+
...params,
271+
}),
272+
};
256273
}

0 commit comments

Comments
 (0)