mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore(server): update openapi (#2205)
This commit is contained in:
parent
91e27affeb
commit
983abf5e14
65 changed files with 756 additions and 1458 deletions
20
mobile/openapi/lib/api/server_info_api.dart
generated
20
mobile/openapi/lib/api/server_info_api.dart
generated
|
|
@ -16,9 +16,7 @@ class ServerInfoApi {
|
|||
|
||||
final ApiClient apiClient;
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
/// Performs an HTTP 'GET /server-info' operation and returns the [Response].
|
||||
Future<Response> getServerInfoWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/server-info';
|
||||
|
|
@ -44,7 +42,6 @@ class ServerInfoApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<ServerInfoResponseDto?> getServerInfo() async {
|
||||
final response = await getServerInfoWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
@ -60,9 +57,7 @@ class ServerInfoApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
/// Performs an HTTP 'GET /server-info/version' operation and returns the [Response].
|
||||
Future<Response> getServerVersionWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/server-info/version';
|
||||
|
|
@ -88,7 +83,6 @@ class ServerInfoApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<ServerVersionReponseDto?> getServerVersion() async {
|
||||
final response = await getServerVersionWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
@ -104,9 +98,7 @@ class ServerInfoApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
/// Performs an HTTP 'GET /server-info/stats' operation and returns the [Response].
|
||||
Future<Response> getStatsWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/server-info/stats';
|
||||
|
|
@ -132,7 +124,6 @@ class ServerInfoApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<ServerStatsResponseDto?> getStats() async {
|
||||
final response = await getStatsWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
@ -148,9 +139,7 @@ class ServerInfoApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
/// Performs an HTTP 'GET /server-info/ping' operation and returns the [Response].
|
||||
Future<Response> pingServerWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/server-info/ping';
|
||||
|
|
@ -176,7 +165,6 @@ class ServerInfoApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<ServerPingResponse?> pingServer() async {
|
||||
final response = await pingServerWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue