diff options
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | src/hydrilla/server/serve.py | 2 | ||||
-rw-r--r-- | src/test/test_server.py | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -35,7 +35,7 @@ packages = find: include_package_data=True python_requires = >= 3.7 install_requires = - hydrilla.builder==1.0b2.dev1+g9271ca7 + hydrilla.builder==1.0b2 flask jsonschema>=3.0 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', |