Skip to content

High performance self-hosted photo and video management solution.

chore: upgrade openapi generator version (#12358)

Alex014800593175
diff --git a/mobile/openapi/.gitignore b/mobile/openapi/.gitignore
index 1be28ced09..0f74d293b9 100644
--- a/mobile/openapi/.gitignore
+++ b/mobile/openapi/.gitignore
@@ -3,7 +3,9 @@
.dart_tool/
.packages
build/
-pubspec.lock # Except for application packages
+
+# Except for application packages
+pubspec.lock
doc/api/
diff --git a/mobile/openapi/.openapi-generator/VERSION b/mobile/openapi/.openapi-generator/VERSION
index 18bb4182dd..09a6d30847 100644
--- a/mobile/openapi/.openapi-generator/VERSION
+++ b/mobile/openapi/.openapi-generator/VERSION
@@ -1 +1 @@
-7.5.0
+7.8.0
diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md
index 68cf2e7a99..b67a3e3383 100644
--- a/mobile/openapi/README.md
+++ b/mobile/openapi/README.md
@@ -4,7 +4,7 @@ Immich API
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.113.1
-- Generator version: 7.5.0
+- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
## Requirements
diff --git a/mobile/openapi/pubspec.yaml b/mobile/openapi/pubspec.yaml
index 4a979bf5db..1c26f8707c 100644
--- a/mobile/openapi/pubspec.yaml
+++ b/mobile/openapi/pubspec.yaml
@@ -7,11 +7,11 @@ version: '1.0.0'
description: 'OpenAPI API client'
homepage: 'homepage'
environment:
- sdk: '>=2.12.0 <3.0.0'
+ sdk: '>=2.12.0 <4.0.0'
dependencies:
- collection: '^1.17.0'
- http: '>=0.13.0 <0.14.0'
+ collection: '>=1.17.0 <2.0.0'
+ http: '>=0.13.0 <2.0.0'
intl: any
- meta: '^1.1.8'
+ meta: '>=1.1.8 <2.0.0'
immich_mobile:
path: ../
diff --git a/open-api/bin/generate-open-api.sh b/open-api/bin/generate-open-api.sh
index bf79b0bd82..2ca0463046 100755
--- a/open-api/bin/generate-open-api.sh
+++ b/open-api/bin/generate-open-api.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-OPENAPI_GENERATOR_VERSION=v7.5.0
+OPENAPI_GENERATOR_VERSION=v7.8.0
# usage: ./bin/generate-open-api.sh
diff --git a/open-api/openapitools.json b/open-api/openapitools.json
index cfe74d51f8..2f4612ceda 100644
--- a/open-api/openapitools.json
+++ b/open-api/openapitools.json
@@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
- "version": "7.5.0"
+ "version": "7.8.0"
}
}
diff --git a/open-api/patch/pubspec_immich_mobile.yaml.patch b/open-api/patch/pubspec_immich_mobile.yaml.patch
index 5f15c7254a..ad3bbc2edd 100644
--- a/open-api/patch/pubspec_immich_mobile.yaml.patch
+++ b/open-api/patch/pubspec_immich_mobile.yaml.patch
@@ -1,8 +1,8 @@
# Include code from immich_mobile
@@ -13,5 +13,5 @@
- http: '>=0.13.0 <0.14.0'
+ http: '>=0.13.0 <2.0.0'
intl: any
- meta: '^1.1.8'
+ meta: '>=1.1.8 <2.0.0'
-dev_dependencies:
- test: '>=1.21.6 <1.22.0'
+ immich_mobile: