File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
openapi-generator-annotations Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -216,13 +216,15 @@ class JaguarProperties extends AdditionalProperties {
216
216
class DioProperties extends AdditionalProperties {
217
217
/// Choose serialization format JSON or PROTO is supported
218
218
final DioDateLibrary ? dateLibrary;
219
+ final DioSerializationLibrary ? serializationLibrary;
219
220
220
221
/// Is the null fields should be in the JSON payload
221
222
final bool ? nullableFields;
222
223
223
224
const DioProperties (
224
225
{this .dateLibrary,
225
226
this .nullableFields,
227
+ this .serializationLibrary,
226
228
bool allowUnicodeIdentifiers = false ,
227
229
bool ensureUniqueParams = true ,
228
230
bool prependFormOrBodyParameters = false ,
@@ -318,6 +320,8 @@ enum DioDateLibrary {
318
320
timemachine
319
321
}
320
322
323
+ enum DioSerializationLibrary { built_value, json_serializable }
324
+
321
325
enum SerializationFormat { JSON , PROTO }
322
326
323
327
/// The name of the generator to use
Original file line number Diff line number Diff line change 1
1
name : openapi_generator_annotations
2
2
description : Annotation package for openapi_generator https://pub.dev/packages/openapi_generator.
3
- version : 4.0 .0
3
+ version : 4.1 .0
4
4
homepage : https://github.com/gibahjoe/openapi-generator-dart
5
5
6
6
You can’t perform that action at this time.
0 commit comments