diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hydrilla/server/serve.py | 2 | ||||
-rw-r--r-- | src/test/test_server.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hydrilla/server/serve.py b/src/hydrilla/server/serve.py index 683b95b..6cb98c2 100644 --- a/src/hydrilla/server/serve.py +++ b/src/hydrilla/server/serve.py @@ -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.0.1.schema.json', + '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json', 'mappings': mapping_refs, 'generated_by': generated_by } diff --git a/src/test/test_server.py b/src/test/test_server.py index 3107cfb..1da5663 100644 --- a/src/test/test_server.py +++ b/src/test/test_server.py @@ -210,7 +210,7 @@ def test_empty_query() -> None: response_object = json.loads(response.data.decode()) assert response_object == { - '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.0.1.schema.json', + '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json', 'mappings': [], 'generated_by': expected_generated_by } @@ -229,7 +229,7 @@ def test_query() -> None: response_object = json.loads(response.data.decode()) assert response_object == { - '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.0.1.schema.json', + '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json', 'mappings': [{ 'identifier': 'helloapple', 'long_name': 'Hello Apple', |