chore(server): update openapi (#2205)

This commit is contained in:
Michel Heusschen
2023-04-09 04:26:09 +02:00
committed by GitHub
parent 91e27affeb
commit 983abf5e14
65 changed files with 756 additions and 1458 deletions

View File

@@ -16,10 +16,7 @@ class UserApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user/profile-image' operation and returns the [Response].
/// Parameters:
///
/// * [MultipartFile] file (required):
@@ -58,8 +55,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [MultipartFile] file (required):
@@ -78,10 +73,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user' operation and returns the [Response].
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@@ -110,8 +102,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@@ -130,10 +120,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /user/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -163,8 +150,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@@ -183,10 +168,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user' operation and returns the [Response].
/// Parameters:
///
/// * [bool] isAll (required):
@@ -217,8 +199,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [bool] isAll (required):
@@ -240,9 +220,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /user/me' operation and returns the [Response].
Future<Response> getMyUserInfoWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/user/me';
@@ -268,7 +246,6 @@ class UserApi {
);
}
///
Future<UserResponseDto?> getMyUserInfo() async {
final response = await getMyUserInfoWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -284,10 +261,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/profile-image/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -317,8 +291,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@@ -337,10 +309,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/info/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -370,8 +339,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@@ -390,10 +357,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/count' operation and returns the [Response].
/// Parameters:
///
/// * [bool] admin:
@@ -426,8 +390,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [bool] admin:
@@ -446,10 +408,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user/{userId}/restore' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -479,8 +438,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@@ -499,10 +456,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /user' operation and returns the [Response].
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):
@@ -531,8 +485,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):