mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-27 21:09:28 +00:00
Fix openapi
This commit is contained in:
parent
af21d3c432
commit
8548ecebf3
@ -151,7 +151,7 @@ components:
|
||||
description: Whether the AutoRelay service is currently running
|
||||
portMapping:
|
||||
type: string
|
||||
enum: [none, upnp, pmp, pcp]
|
||||
enum: [none, upnp, pmp, pcp, direct]
|
||||
description: Active NAT port mapping type
|
||||
|
||||
DataList:
|
||||
|
||||
@ -230,7 +230,7 @@ proc reachabilityStr*(autonat: Option[AutonatV2Service]): string =
|
||||
if autonat.isSome:
|
||||
$autonat.get.networkReachability
|
||||
else:
|
||||
"unknown"
|
||||
"Unknown"
|
||||
|
||||
proc portMappingStr*(natMapper: Option[NatPortMapper]): string =
|
||||
if natMapper.isNone or natMapper.get.activeMappingProtocol.isNone:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user