Pull request: Add security to openapi spec

Merge in DNS/adguard-home from 2392-docs to master

Closes #2392.

* commit 'a86172fda426ab24dc5e82c84b380fe110f169fc':
  Add security to openapi spec
This commit is contained in:
Ainar Garipov 2020-12-04 19:30:11 +03:00
commit 63e513e33e
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,9 @@
'servers':
- 'url': '/control'
'security':
- 'basicAuth': []
'tags':
- 'name': 'clients'
'description': 'Clients list operations'
@ -2084,3 +2087,7 @@
'description': 'The error message, an opaque string.'
'type': 'string'
'type': 'object'
'securitySchemes':
'basicAuth':
'type': 'http'
'scheme': 'basic'