Pull request: openapi: fix more docs issues
Merge in DNS/adguard-home from fix-openapi to master Squashed commit of the following: commit bd95a502666372443b937cbcb690e307cd943342 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Jan 14 13:23:37 2021 +0300 openapi: fix more docs issues
This commit is contained in:
parent
4474e9fcf9
commit
f2c6e1c682
2
Makefile
2
Makefile
|
@ -80,6 +80,8 @@ go-lint: ; $(ENV) "$(SHELL)" ./scripts/make/go-lint.sh
|
|||
go-test: ; $(ENV) "$(SHELL)" ./scripts/make/go-test.sh
|
||||
go-tools: ; $(ENV) "$(SHELL)" ./scripts/make/go-tools.sh
|
||||
|
||||
openapi-lint: ; cd ./openapi/ && $(YARN) test
|
||||
|
||||
# TODO(a.garipov): Remove the legacy targets once the build
|
||||
# infrastructure stops using them.
|
||||
dependencies:
|
||||
|
|
|
@ -1514,6 +1514,8 @@
|
|||
'properties':
|
||||
'domain_or_ip':
|
||||
'type': 'integer'
|
||||
'additionalProperties':
|
||||
'type': 'integer'
|
||||
'StatsConfig':
|
||||
'type': 'object'
|
||||
'description': 'Statistics configuration'
|
||||
|
@ -2176,8 +2178,6 @@
|
|||
'items':
|
||||
'type': 'string'
|
||||
'whois_info':
|
||||
'type': 'array'
|
||||
'items':
|
||||
'$ref': '#/components/schemas/WhoisInfo'
|
||||
'disallowed':
|
||||
'type': 'boolean'
|
||||
|
@ -2193,8 +2193,7 @@
|
|||
|
||||
'WhoisInfo':
|
||||
'type': 'object'
|
||||
'properties':
|
||||
'key':
|
||||
'additionalProperties':
|
||||
'type': 'string'
|
||||
|
||||
'Clients':
|
||||
|
|
|
@ -11,3 +11,8 @@ if [ "$(git diff --cached --name-only -- '*.go' 'go.mod')" ]
|
|||
then
|
||||
make go-lint go-test
|
||||
fi
|
||||
|
||||
if [ "$(git diff --cached --name-only -- './openapi/openapi.yaml')" ]
|
||||
then
|
||||
make openapi-lint
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue