diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index e37d5a6f..442cd774 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;