Skip to content

Commit

Permalink
Set correct openapi version
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal committed Jul 26, 2023
1 parent 4faab04 commit d353ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_api_decorator/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class OpenApiOperation:
api_paths[path] = val

api_spec = {
"openapi": "3.0.0",
"openapi": "3.1.0",
"info": {"title": "API overview", "version": "0.0.1"},
"paths": api_paths,
"components": {"schemas": api_components},
Expand Down

0 comments on commit d353ae5

Please sign in to comment.