Skip to content

Commit 4cea311

Browse files
trim21tiangolo
authored andcommitted
🐛 Fix doctype in docs (fastapi#537)
1 parent f871807 commit 4cea311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastapi/openapi/docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_swagger_ui_html(
1717
) -> HTMLResponse:
1818

1919
html = f"""
20-
<! doctype html>
20+
<!DOCTYPE html>
2121
<html>
2222
<head>
2323
<link type="text/css" rel="stylesheet" href="{swagger_css_url}">
@@ -104,7 +104,7 @@ def get_redoc_html(
104104

105105
def get_swagger_ui_oauth2_redirect_html() -> HTMLResponse:
106106
html = """
107-
<!doctype html>
107+
<!DOCTYPE html>
108108
<html lang="en-US">
109109
<body onload="run()">
110110
</body>

0 commit comments

Comments
 (0)