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;