mirror of https://github.com/tiangolo/fastapi.git
Update fastapi/openapi/utils.py
This commit is contained in:
parent
63cbea46b5
commit
472401c4a3
|
|
@ -393,7 +393,7 @@ def get_openapi(
|
||||||
terms_of_service: Optional[str] = None,
|
terms_of_service: Optional[str] = None,
|
||||||
contact: Optional[Dict[str, Union[str, Any]]] = None,
|
contact: Optional[Dict[str, Union[str, Any]]] = None,
|
||||||
license_info: 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]:
|
) -> Dict[str, Any]:
|
||||||
info: Dict[str, Any] = {"title": title, "version": version}
|
info: Dict[str, Any] = {"title": title, "version": version}
|
||||||
if description:
|
if description:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue