Browse Source

dynamite: Fix JSON encoded string fields for real

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

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

@ -1201,7 +1201,6 @@ TypeResult resolveType(
'$identifier${schema.ofs!.indexOf(s)}',
s,
extraJsonSerializableValues: extraJsonSerializableValues,
fromJsonString: fromJsonString,
),
)
.toList();
@ -1358,7 +1357,6 @@ TypeResult resolveType(
identifier,
schema.items!,
extraJsonSerializableValues: extraJsonSerializableValues,
fromJsonString: fromJsonString,
);
result = TypeResultList(
'List<${subResult.name}>',
@ -1437,7 +1435,6 @@ TypeResult resolveType(
schema,
ignoreEnum: true,
extraJsonSerializableValues: extraJsonSerializableValues,
fromJsonString: fromJsonString,
);
b
..name = _toDartName(value.toString())

Loading…
Cancel
Save