-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1, Preview of JSON Swagger files not getting updated in realtime. 2, Preview window in vs code not switching to latest file. 3, File name in preview window to identify which file is in preview. 4, Instead of retrying from default port until next port is available, try with the last incremented port.
- Loading branch information
Showing
2 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
<!doctype html><meta charset="utf-8"><title>Swagger Editor</title><meta name="description" content="Swagger Editor"><meta name="viewport" content="width=device-width"><link rel="icon" type="image/png" href="./images/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="./images/favicon-16x16.png" sizes="16x16"><link rel="stylesheet" href="styles/main.css"><link rel="stylesheet" href="styles/branding.css"><div class="total-wrapper" ui-view></div><script src="scripts/vendor.js"></script><script src="scripts/scripts.js"></script><script src="scripts/branding.js"></script><script src="/socket.io/socket.io.js"></script><script>var socket = io.connect();</script> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Swagger Viewer</title> | ||
<meta name="description" content="Swagger Viewer"> | ||
<meta name="viewport" content="width=device-width"> | ||
<link rel="icon" type="image/png" href="./images/favicon-32x32.png" sizes="32x32"> | ||
<link rel="icon" type="image/png" href="./images/favicon-16x16.png" sizes="16x16"> | ||
<link rel="stylesheet" href="styles/main.css"> | ||
<link rel="stylesheet" href="styles/branding.css"> | ||
</head> | ||
<body> | ||
<div class="total-wrapper" ui-view> | ||
</div> | ||
<script src="scripts/vendor.js"></script> | ||
<script src="scripts/scripts.js"></script> | ||
<script src="scripts/branding.js"></script> | ||
<script src="/socket.io/socket.io.js"></script> | ||
<script> | ||
var socket = io.connect(); | ||
socket.emit('GET_NAME', {}, (name) => { | ||
if(name) document.title = 'Swagger Viewer - ' + name | ||
}) | ||
</script> | ||
</body> | ||
</html> |