mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-29 18:18:25 +03:00
Pull request #2325: 7510 Fix openapi spec
Merge in DNS/adguard-home from 7510-fix-openapi to master Squashed commit of the following: commit b67d6f964081cf12bea5c3406eba64a432d02e81 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Dec 19 15:28:46 2024 +0300 openapi: fmt openapi chlog commit 738becf0af96b3bfc4b549be9ad84cbce0d9cf39 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Dec 19 14:44:36 2024 +0300 openapi: log changes commit a398712ed1b5696f944f15404e340e002822c89f Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Dec 19 14:34:11 2024 +0300 openapi: fix spec
This commit is contained in:
parent
21945c6058
commit
261c1599a5
3 changed files with 462 additions and 666 deletions
1101
openapi/CHANGELOG.md
1101
openapi/CHANGELOG.md
File diff suppressed because it is too large
Load diff
|
@ -2501,9 +2501,11 @@
|
|||
'description': 'Network interface info'
|
||||
'required':
|
||||
- 'flags'
|
||||
- 'gateway_ip'
|
||||
- 'hardware_address'
|
||||
- 'ipv4_addresses'
|
||||
- 'ipv6_addresses'
|
||||
- 'name'
|
||||
- 'mtu'
|
||||
'properties':
|
||||
'flags':
|
||||
'type': 'string'
|
||||
|
@ -2512,18 +2514,28 @@
|
|||
the "|" character: "up", "broadcast", "loopback", "pointtopoint" and
|
||||
"multicast".
|
||||
'example': 'up|broadcast|multicast'
|
||||
'gateway_ip':
|
||||
'type': 'string'
|
||||
'description': 'The IP address of the gateway.'
|
||||
'example': '192.0.2.0'
|
||||
'hardware_address':
|
||||
'type': 'string'
|
||||
'example': '52:54:00:11:09:ba'
|
||||
'ipv4_addresses':
|
||||
'type': 'array'
|
||||
'description': >
|
||||
The addresses of the interface of v4 family.
|
||||
'items':
|
||||
'type': 'string'
|
||||
'ipv6_addresses':
|
||||
'type': 'array'
|
||||
'description': >
|
||||
The addresses of the interface of v6 family.
|
||||
'items':
|
||||
'type': 'string'
|
||||
'name':
|
||||
'type': 'string'
|
||||
'example': 'eth0'
|
||||
'ip_addresses':
|
||||
'type': 'array'
|
||||
'items':
|
||||
'type': 'string'
|
||||
'mtu':
|
||||
'type': 'integer'
|
||||
'AddressInfo':
|
||||
'type': 'object'
|
||||
'description': 'Port information'
|
||||
|
|
|
@ -17,4 +17,5 @@ fi
|
|||
# TODO(e.burkov): Lint allmarkdown documents within this project.
|
||||
markdownlint \
|
||||
./CHANGELOG.md \
|
||||
./openapi/CHANGELOG.md \
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue