mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-08-11 08:33:10 +00:00
Mark mixPubKey nullable in OpenAPI schema and make wrapper MixPubKey nullable (PR #131 fix)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c960480304
commit
9c82065763
@ -11,7 +11,7 @@ namespace LogosStorageClient
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public string[] AnnounceAddresses { get; set; } = Array.Empty<string>();
|
||||
public string Libp2pPubKey { get; set; } = string.Empty;
|
||||
public string MixPubKey { get; set; } = string.Empty;
|
||||
public string? MixPubKey { get; set; }
|
||||
public DebugInfoVersion Version { get; set; } = new();
|
||||
public DebugInfoTable Table { get; set; } = new();
|
||||
}
|
||||
|
||||
@ -128,6 +128,7 @@ components:
|
||||
description: Hex-encoded libp2p public key of the node
|
||||
mixPubKey:
|
||||
type: string
|
||||
nullable: true
|
||||
description: Hex-encoded mix public key (present only for nodes that support mix)
|
||||
table:
|
||||
$ref: "#/components/schemas/PeersTable"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user