diff --git a/tests/base/hmi/flask/test_routes.py b/tests/base/hmi/flask/test_routes.py index dbf081fd..c3010b55 100644 --- a/tests/base/hmi/flask/test_routes.py +++ b/tests/base/hmi/flask/test_routes.py @@ -23,4 +23,4 @@ def test_api_documentation(self): response = self.client.get("/documentation") self.assertEqual(response.status_code, 200) self.assertEqual(response.content_type, "application/json") - self.assertIn('"openapi": "3.0.3"', response.text) + self.assertIn('"openapi": "3.1.0"', response.text) diff --git a/vtaskr/libs/openapi/templates/openapi.json.jinja2 b/vtaskr/libs/openapi/templates/openapi.json.jinja2 index 7eb5402e..ebd16e98 100644 --- a/vtaskr/libs/openapi/templates/openapi.json.jinja2 +++ b/vtaskr/libs/openapi/templates/openapi.json.jinja2 @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": {{ openapi.infos|tojson }}, "servers": [ {% for server in openapi.servers %}