Update fastapi/openapi/utils.py

This commit is contained in:
Lorhan Sohaky 2022-03-09 08:33:15 -03:00 committed by GitHub
parent 63cbea46b5
commit 472401c4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ def get_openapi(
terms_of_service: Optional[str] = None,
contact: Optional[Dict[str, Union[str, Any]]] = None,
license_info: Optional[Dict[str, Union[str, Any]]] = None,
prefix: Optional[str] = None,
prefix: Optional[str] = "",
) -> Dict[str, Any]:
info: Dict[str, Any] = {"title": title, "version": version}
if description: