mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
api: fix ExpiredAt format (#368)
This commit is contained in:
@@ -42,11 +42,6 @@ definitions:
|
||||
description: Error message.
|
||||
type: string
|
||||
type: object
|
||||
models.ExpiryDate:
|
||||
properties:
|
||||
time.Time:
|
||||
type: string
|
||||
type: object
|
||||
models.Interface:
|
||||
properties:
|
||||
Addresses:
|
||||
@@ -306,10 +301,9 @@ definitions:
|
||||
- $ref: '#/definitions/models.ConfigOption-string'
|
||||
description: EndpointPublicKey is the endpoint public key.
|
||||
ExpiresAt:
|
||||
allOf:
|
||||
- $ref: '#/definitions/models.ExpiryDate'
|
||||
description: ExpiresAt is the expiry date of the peer in YYYY-MM-DD format.
|
||||
An expired peer is not able to connect.
|
||||
type: string
|
||||
ExtraAllowedIPs:
|
||||
description: ExtraAllowedIPs is a list of additional allowed IP subnets for
|
||||
the peer. These allowed IP subnets are added on the server side.
|
||||
|
Reference in New Issue
Block a user