Browse Source

dynamite: Fix warning about content strings

pull/240/head
jld3103 2 years ago
parent
commit
a8abccaf07
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/dynamite/lib/src/openapi_builder.dart

2
packages/dynamite/lib/src/openapi_builder.dart

@ -1388,7 +1388,7 @@ TypeResult resolveObject(
}; };
if (isContentString) { if (isContentString) {
if (result is! TypeResultObject || result is! TypeResultList) { if (result is! TypeResultObject && result is! TypeResultList) {
print("The content string $identifier.$propertyName can't be decoded automatically."); print("The content string $identifier.$propertyName can't be decoded automatically.");
} }

Loading…
Cancel
Save