Skip to content

Commit

Permalink
#13 Update Openapi version
Browse files Browse the repository at this point in the history
  • Loading branch information
Valbou committed Oct 17, 2023
1 parent 7001fbd commit 9382b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/base/hmi/flask/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion vtaskr/libs/openapi/templates/openapi.json.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.3",
"openapi": "3.1.0",
"info": {{ openapi.infos|tojson }},
"servers": [
{% for server in openapi.servers %}
Expand Down

0 comments on commit 9382b8d

Please sign in to comment.