Skip to content

Commit 809dcd6

Browse files
🚨
1 parent 58efbaa commit 809dcd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/openapi-to-ts/src/generate-ts-from-openapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export async function generateTSFromOpenAPI({
346346
}
347347

348348
if (params.headers) {
349-
addJSONSchemaParams(params.headers, 'formData')
349+
addJSONSchemaParams(params.headers, 'headers')
350350
}
351351

352352
if (params.path) {

0 commit comments

Comments
 (0)