Browse Source

Update fastapi/openapi/utils.py

pull/4657/head
Lorhan Sohaky 3 years ago
committed by GitHub
parent
commit
472401c4a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      fastapi/openapi/utils.py

2
fastapi/openapi/utils.py

@ -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:

Loading…
Cancel
Save