Update swagger UI files

GSoC/Meterpreter_Web_Console
James Barnett 2018-05-08 12:26:46 -05:00
parent 9228f4fb6b
commit 0f33bd08c7
No known key found for this signature in database
GPG Key ID: 647983861A4EC5EA
9 changed files with 26 additions and 29 deletions

View File

@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Metasploit API</title>
<title>Metasploit API Documentation</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
@ -41,7 +41,7 @@
// Build a system
const ui = SwaggerUIBundle({
url: "http://localhost:8080/api/v1/api-docs",
url: "http://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<title>Metasploit API Documentation</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<%= root_path %>/swagger-ui.css" >
<link rel="icon" type="image/png" href="<%= root_path %>/favicon-32x32.png" sizes="32x32" />
@ -79,9 +79,6 @@
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
})