Skip to content

Commit

Permalink
Update types for backward compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
hasansezertasan committed Feb 3, 2024
1 parent ab80142 commit 874f479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/openapidoc/redoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .base import Base

default_parameters: Annotated[
dict[str, Any],
Dict[str, Any],
Doc(
"""
Default configurations for Redoc UI.
Expand Down
4 changes: 2 additions & 2 deletions src/openapidoc/swaggerui.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .base import Base

default_parameters: Annotated[
dict[str, Any],
Dict[str, Any],
Doc(
"""
Default configurations for Swagger UI.
Expand All @@ -21,7 +21,7 @@
"showCommonExtensions": True,
}
default_parameters_presets: Annotated[
list[str],
List[str],
Doc(
"""
Default configurations for Swagger UI presets.
Expand Down

0 comments on commit 874f479

Please sign in to comment.