You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -138,6 +140,11 @@ public DartDioClientCodegen() {
138
140
finalCliOptionfinalProperties = CliOption.newBoolean(FINAL_PROPERTIES, "Whether properties are marked as final when using Json Serializable for serialization");
139
141
finalProperties.setDefault("true");
140
142
cliOptions.add(finalProperties);
143
+
144
+
// skip CopyWith option
145
+
finalCliOptionskipCopyWith = CliOption.newBoolean(SKIP_COPY_WITH, "Skip CopyWith when using Json Serializable for serialization");
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/class.mustache
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/options/DartDioClientOptionsProvider.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ public Map<String, String> createOptions() {
0 commit comments