summaryrefslogtreecommitdiff
path: root/src/hydrilla/server/serve.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-01 09:54:30 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-01 09:54:30 +0100
commit2a7dc95e7b56677725c638399a2d772ab0236190 (patch)
treefc9f584c111d1e8c11f44d8003eb70aa12c338d4 /src/hydrilla/server/serve.py
parentc2a56443bdff9aa2d31ef8a901f7d4d3aa819ddb (diff)
downloadhaketilo-hydrilla-2a7dc95e7b56677725c638399a2d772ab0236190.tar.gz
haketilo-hydrilla-2a7dc95e7b56677725c638399a2d772ab0236190.zip
update schema versions to 1.0.1
Diffstat (limited to 'src/hydrilla/server/serve.py')
-rw-r--r--src/hydrilla/server/serve.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hydrilla/server/serve.py b/src/hydrilla/server/serve.py
index 9a75483..d0b1ab6 100644
--- a/src/hydrilla/server/serve.py
+++ b/src/hydrilla/server/serve.py
@@ -335,7 +335,7 @@ class Malcontent:
with open(ver_file, 'rt') as file_handle:
item_json = json.load(file_handle)
- util.validator_for(f'api_{item_type}_description-1.schema.json')\
+ util.validator_for(f'api_{item_type}_description-1.0.1.schema.json')\
.validate(item_json)
if item_type == 'resource':
@@ -549,7 +549,7 @@ def query():
mapping_refs = [i.as_query_result() for i in malcontent().query(url)]
result = {
- '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json',
+ '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.0.1.schema.json',
'mappings': mapping_refs,
'generated_by': generated_by
}