Skip to content

Commit

Permalink
add global override
Browse files Browse the repository at this point in the history
  • Loading branch information
yabinma committed Dec 11, 2024
1 parent 7c10e89 commit d3b3042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
2 changes: 2 additions & 0 deletions .swaggo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Replace all time.Duration with int64
replace time.Duration int64
39 changes: 1 addition & 38 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1406,42 +1406,6 @@ definitions:
type: object
netip.AddrPort:
type: object
time.Duration:
enum:
- -9223372036854775808
- 9223372036854775807
- 1
- 1000
- 1000000
- 1000000000
- 60000000000
- 3600000000000
- -9223372036854775808
- 9223372036854775807
- 1
- 1000
- 1000000
- 1000000000
- 60000000000
- 3600000000000
type: integer
x-enum-varnames:
- minDuration
- maxDuration
- Nanosecond
- Microsecond
- Millisecond
- Second
- Minute
- Hour
- minDuration
- maxDuration
- Nanosecond
- Microsecond
- Millisecond
- Second
- Minute
- Hour
wgtypes.PeerConfig:
properties:
allowedIPs:
Expand All @@ -1456,13 +1420,12 @@ definitions:
- $ref: '#/definitions/net.UDPAddr'
description: Endpoint specifies the endpoint of this peer entry, if not nil.
persistentKeepaliveInterval:
allOf:
- $ref: '#/definitions/time.Duration'
description: |-
PersistentKeepaliveInterval specifies the persistent keepalive interval
for this peer, if not nil.
A non-nil value of 0 will clear the persistent keepalive interval.
type: integer
presharedKey:
description: |-
PresharedKey specifies a peer's preshared key configuration, if not nil.
Expand Down

0 comments on commit d3b3042

Please sign in to comment.