diff --git a/src/CoreApi/IFilesStoreApiObjectResponse.cs b/src/CoreApi/IFilesStoreApiObjectResponse.cs
index f4dae4d2..862ce706 100644
--- a/src/CoreApi/IFilesStoreApiObjectResponse.cs
+++ b/src/CoreApi/IFilesStoreApiObjectResponse.cs
@@ -17,11 +17,6 @@ public interface IFilesStoreApiObjectResponse
///
public string FilePath { get; set; }
- ///
- /// The key to the Filestore.
- ///
- public IFilesStoreKey Key { get; set; }
-
///
/// The response offset.
///
@@ -47,7 +42,7 @@ public interface IFilesStoreKey
/// Key value.
///
[JsonProperty("/")]
- public string Value { get; set; }
+ public string _ { get; set; }
}
///
diff --git a/src/CoreApi/IKeyApi.cs b/src/CoreApi/IKeyApi.cs
index f4a08262..0d254139 100644
--- a/src/CoreApi/IKeyApi.cs
+++ b/src/CoreApi/IKeyApi.cs
@@ -34,7 +34,7 @@ public interface IKeyApi
/// A task that represents the asynchronous operation. The task's result is
/// the key that was created.
///
- Task CreateAsync(
+ Task CreateAsync(
string name,
string keyType,
int size,
@@ -50,7 +50,7 @@ Task CreateAsync(
/// A task that represents the asynchronous operation. The task's result is
/// a sequence of IPFS keys.
///
- Task> ListAsync(CancellationToken cancel = default);
+ Task> ListAsync(CancellationToken cancel = default);
///
/// Delete the specified key.
@@ -65,7 +65,7 @@ Task CreateAsync(
/// A task that represents the asynchronous operation. The task's result is
/// the key that was deleted, or null if the key is not present.
///
- Task RemoveAsync(string name, CancellationToken cancel = default);
+ Task RemoveAsync(string name, CancellationToken cancel = default);
///
/// Rename the specified key.
@@ -83,7 +83,7 @@ Task CreateAsync(
/// A task that represents the asynchronous operation. The task's result is
/// the new key after the rename.
///
- Task RenameAsync(string oldName, string newName, CancellationToken cancel = default);
+ Task RenameAsync(string oldName, string newName, CancellationToken cancel = default);
///
/// Export a key to a PEM encoded password protected PKCS #8 container.
@@ -122,6 +122,6 @@ Task CreateAsync(
/// A task that represents the asynchronous operation. The task's result
/// is the newly imported key.
///
- Task ImportAsync(string name, string pem, char[]? password = null, CancellationToken cancel = default);
+ Task ImportAsync(string name, string pem, char[]? password = null, CancellationToken cancel = default);
}
}