1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

chore(server): patch dart openapi assertion (#2914)

* chore(server): patch dart openapi assertion

* remove unused file
This commit is contained in:
Alex 2023-06-22 12:48:57 -05:00 committed by GitHub
parent 3e2f335a4c
commit 4311d385fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
93 changed files with 12 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -120,7 +120,7 @@ class {{{classname}}} {
assert(() {
requiredKeys.forEach((key) {
assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.');
assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
// assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
});
return true;
}());

View File

@ -1,5 +1,5 @@
--- native_class.mustache 2023-01-04 09:58:25.683944036 -0500
+++ native_class1.mustache 2023-01-04 09:59:43.856353945 -0500
--- native_class.mustache 2023-06-22 12:00:16.480685565 -0500
+++ native_class1.mustache 2023-06-22 12:01:41.772534371 -0500
@@ -91,14 +91,14 @@
{{/isDateTime}}
{{#isNullable}}
@ -17,3 +17,12 @@
}
{{/defaultValue}}
{{/required}}
@@ -120,7 +120,7 @@
assert(() {
requiredKeys.forEach((key) {
assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.');
- assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
+ // assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
});
return true;
}());