Skip to content

Commit

Permalink
Use Swagger UI v5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Suter committed Sep 27, 2023
1 parent 24763ac commit a961eb1
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 60 deletions.
16 changes: 16 additions & 0 deletions src/NSwag.AspNet.Owin/SwaggerUi3/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
html {
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after {
box-sizing: inherit;
}

body {
margin: 0;
background: #fafafa;
}
28 changes: 4 additions & 24 deletions src/NSwag.AspNet.Owin/SwaggerUi3/index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<title>{DocumentTitle}</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="stylesheet" type="text/css" href="./swagger-ui.css">
<link rel="stylesheet" type="text/css" href="index.css" />
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
{CustomStyle}
{CustomHeadContent}
</head>
</head>

<body>
<div id="swagger-ui"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi3/swagger-ui-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi3/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi3/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi3/swagger-ui.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions src/NSwag.AspNetCore/SwaggerUi3/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
html {
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after {
box-sizing: inherit;
}

body {
margin: 0;
background: #fafafa;
}
28 changes: 4 additions & 24 deletions src/NSwag.AspNetCore/SwaggerUi3/index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<title>{DocumentTitle}</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="stylesheet" type="text/css" href="./swagger-ui.css">
<link rel="stylesheet" type="text/css" href="index.css" />
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
{CustomStyle}
{CustomHeadContent}
</head>
</head>

<body>
<div id="swagger-ui"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi3/swagger-ui-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi3/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi3/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi3/swagger-ui.js

Large diffs are not rendered by default.

0 comments on commit a961eb1

Please sign in to comment.