Pull request: openapi: fix naming in filter object

Merge in DNS/adguard-home from fix-openapi-filter to master

Squashed commit of the following:

commit 12c431b656804a27d00c9e016d290a1e90bf48ef
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Feb 1 15:43:33 2021 +0300

    openapi: fix naming in filter object
This commit is contained in:
Ainar Garipov 2021-02-01 16:01:33 +03:00
parent 6f155f78b6
commit adb76aa9b8
1 changed files with 13 additions and 11 deletions

View File

@ -1330,26 +1330,28 @@
'required': 'required':
- 'enabled' - 'enabled'
- 'id' - 'id'
- 'lastUpdated' - 'last_updated'
- 'name' - 'name'
- 'rulesCount' - 'rules_count'
- 'url' - 'url'
'properties': 'properties':
'enabled': 'enabled':
'type': 'boolean' 'type': 'boolean'
'id': 'id':
'type': 'integer'
'example': 1234 'example': 1234
'lastUpdated': 'format': 'int64'
'type': 'string'
'format': 'date-time'
'example': '2018-10-30T12:18:57+03:00'
'name':
'type': 'string'
'example': 'AdGuard Simplified Domain Names filter'
'rulesCount':
'type': 'integer' 'type': 'integer'
'last_updated':
'example': '2018-10-30T12:18:57+03:00'
'format': 'date-time'
'type': 'string'
'name':
'example': 'AdGuard Simplified Domain Names filter'
'type': 'string'
'rules_count':
'example': 5912 'example': 5912
'format': 'uint32'
'type': 'integer'
'url': 'url':
'type': 'string' 'type': 'string'
'example': > 'example': >