Add viewport meta tag to improve Swagger UI on mobile devices (#14777)

This commit is contained in:
Joab authored and GitHub committed 2026-02-04 14:35:58 +01:00
1 parent 9656e925a9
commit 741f77d571
1 file changed
+1
+1
View File
@@ -139,6 +139,7 @@ def get_swagger_ui_html(
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="{swagger_css_url}">
<link rel="shortcut icon" href="{swagger_favicon_url}">
<title>{title}</title>