Update API version to 2.21

This commit is contained in:
allegroai 2022-09-29 19:31:42 +03:00
parent 81e3fc6577
commit 6c49e96ff0
2 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,7 @@ get_all_ex {
type: integer type: integer
} }
} }
"999.0": ${get_all_ex."2.20"} { "2.21": ${get_all_ex."2.20"} {
request.properties.search_hidden { request.properties.search_hidden {
description: "If set to 'true' then hidden queues are included in the search results" description: "If set to 'true' then hidden queues are included in the search results"
type: boolean type: boolean
@ -251,7 +251,7 @@ get_all {
type: integer type: integer
} }
} }
"999.0": ${get_all."2.20"} { "2.21": ${get_all."2.20"} {
request.properties.search_hidden { request.properties.search_hidden {
description: "If set to 'true' then hidden queues are included in the search results" description: "If set to 'true' then hidden queues are included in the search results"
type: boolean type: boolean
@ -484,7 +484,7 @@ get_next_task {
} }
} }
} }
"999.0": ${get_next_task."2.14"} { "2.21": ${get_next_task."2.14"} {
request.properties.task { request.properties.task {
description: Task company ID description: Task company ID
type: string type: string

View File

@ -39,7 +39,7 @@ class ServiceRepo(object):
"""If the check is set, parsing will fail for endpoint request with the version that is grater than the current """If the check is set, parsing will fail for endpoint request with the version that is grater than the current
maximum """ maximum """
_max_version = PartialVersion("2.20") _max_version = PartialVersion("2.21")
""" Maximum version number (the highest min_version value across all endpoints) """ """ Maximum version number (the highest min_version value across all endpoints) """
_endpoint_exp = ( _endpoint_exp = (