From adb76aa9b88c2383f2c80cb1934b664439cccb8b Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 1 Feb 2021 16:01:33 +0300 Subject: [PATCH] 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 Date: Mon Feb 1 15:43:33 2021 +0300 openapi: fix naming in filter object --- openapi/openapi.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 8183faaa..5de5a607 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -1330,26 +1330,28 @@ 'required': - 'enabled' - 'id' - - 'lastUpdated' + - 'last_updated' - 'name' - - 'rulesCount' + - 'rules_count' - 'url' 'properties': 'enabled': 'type': 'boolean' 'id': - 'type': 'integer' 'example': 1234 - 'lastUpdated': - 'type': 'string' - 'format': 'date-time' - 'example': '2018-10-30T12:18:57+03:00' - 'name': - 'type': 'string' - 'example': 'AdGuard Simplified Domain Names filter' - 'rulesCount': + 'format': 'int64' '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 + 'format': 'uint32' + 'type': 'integer' 'url': 'type': 'string' 'example': >