From 0148005931753aa6ace8408b7260eed4afded985 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 5 Sep 2024 11:31:48 -0500 Subject: [PATCH] chore: upgrade openapi generator version (#12358) --- mobile/openapi/.gitignore | 4 +++- mobile/openapi/.openapi-generator/VERSION | 2 +- mobile/openapi/README.md | Bin 31759 -> 31759 bytes mobile/openapi/pubspec.yaml | 8 ++++---- open-api/bin/generate-open-api.sh | 2 +- open-api/openapitools.json | 2 +- .../patch/pubspec_immich_mobile.yaml.patch | 4 ++-- 7 files changed, 12 insertions(+), 10 deletions(-) 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 68cf2e7a994d297761c3635f5cc4ad1f3567fd14..b67a3e33839e1f95ce91b2db2d8f3f5c29f63c0d 100644 GIT binary patch delta 14 VcmeDG!Px(Ual$r6i;deOssS|)2Fm~d delta 14 VcmeDG!Px(Ual$r6(~a9BssS|r2FL&a 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: