From cee52ce97690399da7f4496e3e24c8a186e5807a Mon Sep 17 00:00:00 2001 From: jld3103 Date: Mon, 3 Jul 2023 21:22:50 +0200 Subject: [PATCH] dynamite: Fix headers deserialization --- packages/dynamite/dynamite/lib/src/openapi_builder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index 764d2a71..a9ad780f 100644 --- a/packages/dynamite/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -598,7 +598,7 @@ class OpenAPIBuilder implements Builder { isHeader: true, ); headersType = result.name; - headersValue = result.deserialize('response.headers'); + headersValue = result.deserialize('response.responseHeaders'); } String? dataType;