Skip to content

Commit

Permalink
GDB-10899 - upgrade swagger ui to 5.17.14
Browse files Browse the repository at this point in the history
  • Loading branch information
DesiBorisova authored and svilenvelikov committed Sep 30, 2024
1 parent 79afeb1 commit 6460a56
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/res/swagger5/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Current swagger-ui version: 5.17.9
# Current swagger-ui version: 5.17.14

```Reflect this version here each time when install new version```
2 changes: 1 addition & 1 deletion src/res/swagger5/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ html {

body {
margin: 0;
background: #FFFFFF;
background: #fafafa;
}
12 changes: 6 additions & 6 deletions src/res/swagger5/oauth2-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
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);
}
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.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
) && !oauth2.auth.code) {
if (!isValid) {
oauth2.errCb({
Expand Down
5 changes: 5 additions & 0 deletions src/res/swagger5/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
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
window.uiRdf4j = SwaggerUIBundle({
url: "../../rest/api/rdf4j",
name: "RDF4J API",
Expand All @@ -24,6 +27,8 @@ window.onload = function() {
layout: "StandaloneLayout"
});

//</editor-fold>

window.uiWB = SwaggerUIBundle({
url: "../../rest/api/workbench",
name: "GraphDB API",
Expand Down
2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui-es-bundle-core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui-es-bundle-core.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui-standalone-preset.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/res/swagger5/swagger-ui.js.map

Large diffs are not rendered by default.

0 comments on commit 6460a56

Please sign in to comment.