Procházet zdrojové kódy

Removed swagger

main
rpm-mcarman před 2 roky
rodič
revize
1f0f8ddfc6
18 změnil soubory, kde provedl 0 přidání a 158 odebrání
  1. binární
      Public/Swagger/favicon-16x16.png
  2. binární
      Public/Swagger/favicon-32x32.png
  3. +0
    -16
      Public/Swagger/index.css
  4. +0
    -19
      Public/Swagger/index.html
  5. +0
    -79
      Public/Swagger/oauth2-redirect.html
  6. +0
    -21
      Public/Swagger/swagger-initializer.js
  7. +0
    -3
      Public/Swagger/swagger-ui-bundle.js
  8. +0
    -1
      Public/Swagger/swagger-ui-bundle.js.map
  9. +0
    -3
      Public/Swagger/swagger-ui-es-bundle-core.js
  10. +0
    -1
      Public/Swagger/swagger-ui-es-bundle-core.js.map
  11. +0
    -3
      Public/Swagger/swagger-ui-es-bundle.js
  12. +0
    -1
      Public/Swagger/swagger-ui-es-bundle.js.map
  13. +0
    -3
      Public/Swagger/swagger-ui-standalone-preset.js
  14. +0
    -1
      Public/Swagger/swagger-ui-standalone-preset.js.map
  15. +0
    -3
      Public/Swagger/swagger-ui.css
  16. +0
    -1
      Public/Swagger/swagger-ui.css.map
  17. +0
    -2
      Public/Swagger/swagger-ui.js
  18. +0
    -1
      Public/Swagger/swagger-ui.js.map

binární
Public/Swagger/favicon-16x16.png Zobrazit soubor

Před Za
Šířka: 16  |  Výška: 16  |  Velikost: 665 B

binární
Public/Swagger/favicon-32x32.png Zobrazit soubor

Před Za
Šířka: 32  |  Výška: 32  |  Velikost: 628 B

+ 0
- 16
Public/Swagger/index.css Zobrazit soubor

@@ -1,16 +0,0 @@
html {
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

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

body {
margin: 0;
background: #fafafa;
}

+ 0
- 19
Public/Swagger/index.html Zobrazit soubor

@@ -1,19 +0,0 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<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" />
</head>

<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
</body>
</html>

+ 0
- 79
Public/Swagger/oauth2-redirect.html Zobrazit soubor

@@ -1,79 +0,0 @@
<!doctype html>
<html lang="en-US">
<head>
<title>Swagger UI: OAuth2 Redirect</title>
</head>
<body>
<script>
'use strict';
function run () {
var oauth2 = window.opener.swaggerUIRedirectOauth2;
var sentState = oauth2.state;
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;

if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1).replace('?', '&');
} else {
qp = location.search.substring(1);
}

arr = qp.split("&");
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
qp = qp ? JSON.parse('{' + arr.join() + '}',
function (key, value) {
return key === "" ? value : decodeURIComponent(value);
}
) : {};

isValid = qp.state === sentState;

if ((
oauth2.auth.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
) && !oauth2.auth.code) {
if (!isValid) {
oauth2.errCb({
authId: oauth2.auth.name,
source: "auth",
level: "warning",
message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned from auth server."
});
}

if (qp.code) {
delete oauth2.state;
oauth2.auth.code = qp.code;
oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
} else {
let oauthErrorMsg;
if (qp.error) {
oauthErrorMsg = "["+qp.error+"]: " +
(qp.error_description ? qp.error_description+ ". " : "no accessCode received from the server. ") +
(qp.error_uri ? "More info: "+qp.error_uri : "");
}

oauth2.errCb({
authId: oauth2.auth.name,
source: "auth",
level: "error",
message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server."
});
}
} else {
oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid, redirectUrl: redirectUrl});
}
window.close();
}

if (document.readyState !== 'loading') {
run();
} else {
document.addEventListener('DOMContentLoaded', function () {
run();
});
}
</script>
</body>
</html>

+ 0
- 21
Public/Swagger/swagger-initializer.js Zobrazit soubor

@@ -1,21 +0,0 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
var jsonURL = document.location.origin + "/Swagger/swagger.json";
window.ui = SwaggerUIBundle({
url: "http://localhost:3003/api/v2.0/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});

//</editor-fold>
};

+ 0
- 3
Public/Swagger/swagger-ui-bundle.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui-bundle.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 3
Public/Swagger/swagger-ui-es-bundle-core.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui-es-bundle-core.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 3
Public/Swagger/swagger-ui-es-bundle.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui-es-bundle.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 3
Public/Swagger/swagger-ui-standalone-preset.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui-standalone-preset.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 3
Public/Swagger/swagger-ui.css
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui.css.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 2
Public/Swagger/swagger-ui.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 0
- 1
Public/Swagger/swagger-ui.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit