immich/mobile/openapi/test/api_keys_api_test.dart

75 lines
1.9 KiB
Dart

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.18
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
/// tests for APIKeysApi
void main() {
// final instance = APIKeysApi();
group('tests for APIKeysApi', () {
// Create an API key
//
// Creates a new API key. It will be limited to the permissions specified.
//
//Future<ApiKeyCreateResponseDto> createApiKey(ApiKeyCreateDto apiKeyCreateDto) async
test('test createApiKey', () async {
// TODO
});
// Delete an API key
//
// Deletes an API key identified by its ID. The current user must own this API key.
//
//Future deleteApiKey(String id) async
test('test deleteApiKey', () async {
// TODO
});
// Retrieve an API key
//
// Retrieve an API key by its ID. The current user must own this API key.
//
//Future<ApiKeyResponseDto> getApiKey(String id) async
test('test getApiKey', () async {
// TODO
});
// List all API keys
//
// Retrieve all API keys of the current user.
//
//Future<List<ApiKeyResponseDto>> getApiKeys() async
test('test getApiKeys', () async {
// TODO
});
// Retrieve the current API key
//
// Retrieve the API key that is used to access this endpoint.
//
//Future<ApiKeyResponseDto> getMyApiKey() async
test('test getMyApiKey', () async {
// TODO
});
// Update an API key
//
// Updates the name and permissions of an API key by its ID. The current user must own this API key.
//
//Future<ApiKeyResponseDto> updateApiKey(String id, ApiKeyUpdateDto apiKeyUpdateDto) async
test('test updateApiKey', () async {
// TODO
});
});
}