diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index f3fe09d4..80a702b8 100644 --- a/packages/dynamite/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -930,6 +930,8 @@ class OpenAPIBuilder implements Builder { ), mediaType.schema!, ); + state.resolvedTypeCombinations.add(result); + if (mimeType == '*/*' || mimeType.startsWith('image/')) { dataType = 'Uint8List'; dataValue = 'response.body';