You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by je...@apache.org on 2023/01/13 17:51:15 UTC
[incubator-hugegraph] branch master updated: remove swagger-ui source (#2089)
This is an automated email from the ASF dual-hosted git repository.
jermy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new 04112774d remove swagger-ui source (#2089)
04112774d is described below
commit 04112774d435254119599e9286c7862baac8cff9
Author: Simon Cheung <mi...@apache.org>
AuthorDate: Sat Jan 14 01:51:08 2023 +0800
remove swagger-ui source (#2089)
---
hugegraph-dist/pom.xml | 23 ++++++
.../assembly/static/swagger-ui/favicon-16x16.png | Bin 665 -> 0 bytes
.../assembly/static/swagger-ui/favicon-32x32.png | Bin 628 -> 0 bytes
.../src/assembly/static/swagger-ui/index.html | 76 -----------------
.../static/swagger-ui/oauth2-redirect.html | 91 ---------------------
.../static/swagger-ui/swagger-ui-bundle.js | 19 -----
.../static/swagger-ui/swagger-ui-bundle.js.map | 1 -
.../static/swagger-ui/swagger-ui-es-bundle-core.js | 19 -----
.../swagger-ui/swagger-ui-es-bundle-core.js.map | 1 -
.../static/swagger-ui/swagger-ui-es-bundle.js | 19 -----
.../static/swagger-ui/swagger-ui-es-bundle.js.map | 1 -
.../swagger-ui/swagger-ui-standalone-preset.js | 19 -----
.../swagger-ui/swagger-ui-standalone-preset.js.map | 1 -
.../src/assembly/static/swagger-ui/swagger-ui.css | 20 -----
.../assembly/static/swagger-ui/swagger-ui.css.map | 1 -
.../src/assembly/static/swagger-ui/swagger-ui.js | 19 -----
.../assembly/static/swagger-ui/swagger-ui.js.map | 1 -
17 files changed, 23 insertions(+), 288 deletions(-)
diff --git a/hugegraph-dist/pom.xml b/hugegraph-dist/pom.xml
index 2d5b3eefc..dc0ae1eff 100644
--- a/hugegraph-dist/pom.xml
+++ b/hugegraph-dist/pom.xml
@@ -172,6 +172,29 @@
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
+ <execution>
+ <id>download-swagger-ui</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <echo file="${project.basedir}/dist.sh">
+ wget https://github.com/swagger-api/swagger-ui/archive/refs/tags/v4.15.5.tar.gz
+ tar zxvf v4.15.5.tar.gz
+ echo "window.onload = function() { window.ui = SwaggerUIBundle({
+ url:'/openapi.json',dom_id:'#swagger-ui',deepLinking:true,layout:'StandaloneLayout',
+ presets:[SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ],
+ plugins:[SwaggerUIBundle.plugins.DownloadUrl]});};" > swagger-ui-4.15.5/dist/swagger-initializer.js
+ cp -r swagger-ui-4.15.5/dist ../${final.name}/swagger-ui
+ </echo>
+ <exec executable="${shell-executable}" dir="${project.basedir}" failonerror="true">
+ <arg line="./dist.sh"/>
+ </exec>
+ </tasks>
+ </configuration>
+ </execution>
<execution>
<phase>package</phase>
<goals>
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/favicon-16x16.png b/hugegraph-dist/src/assembly/static/swagger-ui/favicon-16x16.png
deleted file mode 100644
index 8b194e617..000000000
Binary files a/hugegraph-dist/src/assembly/static/swagger-ui/favicon-16x16.png and /dev/null differ
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/favicon-32x32.png b/hugegraph-dist/src/assembly/static/swagger-ui/favicon-32x32.png
deleted file mode 100644
index 249737fe4..000000000
Binary files a/hugegraph-dist/src/assembly/static/swagger-ui/favicon-32x32.png and /dev/null differ
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/index.html b/hugegraph-dist/src/assembly/static/swagger-ui/index.html
deleted file mode 100644
index 198988a09..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
-<!-- HTML for static distribution bundle build -->
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-<!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="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>
- </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>
- window.onload = function() {
- // Begin Swagger UI call region
- const ui = SwaggerUIBundle({
- url: "/openapi.json",
- dom_id: '#swagger-ui',
- deepLinking: true,
- presets: [
- SwaggerUIBundle.presets.apis,
- SwaggerUIStandalonePreset
- ],
- plugins: [
- SwaggerUIBundle.plugins.DownloadUrl
- ],
- layout: "StandaloneLayout"
- });
- // End Swagger UI call region
-
- window.ui = ui;
- };
- </script>
- </body>
-</html>
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/oauth2-redirect.html b/hugegraph-dist/src/assembly/static/swagger-ui/oauth2-redirect.html
deleted file mode 100644
index f5498a430..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/oauth2-redirect.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-<!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);
- } 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 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();
- }
-
- window.addEventListener('DOMContentLoaded', function () {
- run();
- });
-</script>
-</body>
-</html>
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js
deleted file mode 100644
index 06b1857b7..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(function(){try{return require("esprima")}catch(e){}}()):"function"==typeof define&&define.amd?define(["esprima"],t):"object"==typeof exports?exports.SwaggerUIBundle=t(function(){try{return require("esprima")}catch(e){}}()):e.SwaggerUIBundle=t(e.esprima)}(this,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exp [...]
"!="
"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(94),o=n(292);e.exports=function(e){return o(r(e).toLowerCase())}},function(e,t,n){var r=n(133),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(695),o=n(417),a=n(696),i [...]
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function x(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var w=new Array(256),E=new Array(256),S=0;S<256;S++)w[S]=_(S)?1:0,E[S]=_(S);function C(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typ [...]
\u2028\u2029".indexOf(this.buffer.charAt(o-1));)if(o-=1,this.position-o>t/2-1){n=" ... ",o+=5;break}for(a="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){a=" ... ",i-=5;break}return s=this.buffer.slice(o,i),r.repeat(" ",e)+n+s+a+"\n"+r.repeat(" ",e+this.position-o+n.length)+"^"},o.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=o},function(e,t,n){"use strict";var r=n(48);e.exports=new r("tag:yaml.org,2002:str",{kind:"sc [...]
-//# sourceMappingURL=swagger-ui-bundle.js.map
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js.map
deleted file mode 100644
index 7d7a3b0b5..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-bundle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://SwaggerUIBundle/webpack/universalModuleDefinition","webpack://SwaggerUIBundle/webpack/bootstrap","webpack://SwaggerUIBundle/./node_modules/react/react.js","webpack://SwaggerUIBundle/./node_modules/immutable/dist/immutable.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/helpers/defineProperty.js","webpack://SwaggerUIBundle/./node_modul [...]
\ No newline at end of file
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js
deleted file mode 100644
index e0bed3a8a..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*! For license information please see swagger-ui-es-bundle-core.js.LICENSE.txt */
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e; [...]
"!="
"[e]()||a[e].name!==e}))}},function(e,t,n){var r=n(77),a=n(217);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(107),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(539),a=n(331),o=n(540),i [...]
-//# sourceMappingURL=swagger-ui-es-bundle-core.js.map
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js.map
deleted file mode 100644
index f7b56b410..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle-core.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://SwaggerUIBundle/webpack/bootstrap","webpack://SwaggerUIBundle/external \"react\"","webpack://SwaggerUIBundle/external \"immutable\"","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/helpers/defineProperty.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","webpack://SwaggerUIBundle/./src/co [...]
\ No newline at end of file
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js
deleted file mode 100644
index e0a215b44..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*! For license information please see swagger-ui-es-bundle.js.LICENSE.txt */
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e; [...]
"!="
"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(94),o=n(292);e.exports=function(e){return o(r(e).toLowerCase())}},function(e,t,n){var r=n(133),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(695),o=n(417),a=n(696),i [...]
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function x(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var w=new Array(256),E=new Array(256),S=0;S<256;S++)w[S]=_(S)?1:0,E[S]=_(S);function C(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typ [...]
\u2028\u2029".indexOf(this.buffer.charAt(o-1));)if(o-=1,this.position-o>t/2-1){n=" ... ",o+=5;break}for(a="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){a=" ... ",i-=5;break}return s=this.buffer.slice(o,i),r.repeat(" ",e)+n+s+a+"\n"+r.repeat(" ",e+this.position-o+n.length)+"^"},o.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=o},function(e,t,n){"use strict";var r=n(48);e.exports=new r("tag:yaml.org,2002:str",{kind:"sc [...]
-//# sourceMappingURL=swagger-ui-es-bundle.js.map
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js.map
deleted file mode 100644
index 0e82e816c..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-es-bundle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://SwaggerUIBundle/webpack/bootstrap","webpack://SwaggerUIBundle/./node_modules/react/react.js","webpack://SwaggerUIBundle/./node_modules/immutable/dist/immutable.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/helpers/defineProperty.js","webpack://SwaggerUIBundle/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","web [...]
\ No newline at end of file
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js
deleted file mode 100644
index a12a7640f..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*! For license information please see swagger-ui-standalone-preset.js.LICENSE.txt */
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprima")}catch(t){}}()):"function"==typeof define&&define.amd?define(["esprima"],e):"object"==typeof exports?exports.SwaggerUIStandalonePreset=e(function(){try{return require("esprima")}catch(t){}}()):t.SwaggerUIStandalonePreset=e(t.esprima)}(this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].ca [...]
"!="
"[t]()||i[t].name!==t}))}},function(t,e,n){var r=n(66),i=n(147);t.exports=function(t){return i(r(t).toLowerCase())}},function(t,e,n){var r=n(92),i=n(423),o=n(23),u=n(93),s=r?r.prototype:void 0,a=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(u(e))return a?a.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}}, [...]
":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function _(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var L=new Array(256),x=new Array(256),b=0;b<256;b++)L[b]=m(b)?1:0,x[b]=m(b);function j(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||s,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typ [...]
\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>e/2-1){n=" ... ",i+=5;break}for(o="",u=this.position;u<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(u));)if((u+=1)-this.position>e/2-1){o=" ... ",u-=5;break}return s=this.buffer.slice(i,u),r.repeat(" ",t)+n+s+o+"\n"+r.repeat(" ",t+this.position-i+n.length)+"^"},i.prototype.toString=function(t){var e,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(e=this.getSnippet())&&(n+=":\n"+e),n},t.exports=i},function(t,e,n){"use strict";var r=n(7);t.exports=new r("tag:yaml.org,2002:str",{kind:"sca [...]
-//# sourceMappingURL=swagger-ui-standalone-preset.js.map
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js.map
deleted file mode 100644
index 55bd9af14..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui-standalone-preset.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://SwaggerUIStandalonePreset/webpack/universalModuleDefinition","webpack://SwaggerUIStandalonePreset/webpack/bootstrap","webpack://SwaggerUIStandalonePreset/./node_modules/immutable/dist/immutable.js","webpack://SwaggerUIStandalonePreset/./node_modules/core-js-pure/internals/export.js","webpack://SwaggerUIStandalonePreset/./node_modules/react/react.js","webpack://SwaggerUIStandalonePreset/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat [...]
\ No newline at end of file
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css
deleted file mode 100644
index 629aba552..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.swagger-ui{color:#3b4151;
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
- /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */font-family:sans-serif}.swagger-ui html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40 [...]
-
-/*# sourceMappingURL=swagger-ui.css.map*/
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css.map
deleted file mode 100644
index c051c1bdb..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.css.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///./src/style/main.scss","webpack:///./src/style/_type.scss","webpack:///./src/style/_variables.scss","webpack:///./node_modules/tachyons-sass/scss/_normalize.scss","webpack:///./node_modules/tachyons-sass/scss/_debug-children.scss","webpack:///./node_modules/tachyons-sass/scss/_debug-grid.scss","webpack:///./node_modules/tachyons-sass/scss/_box-sizing.scss","webpack:///./node_modules/tachyons-sass/scss/_aspect-ratios.scss","webpack:///./node_modules/tac [...]
\ No newline at end of file
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js
deleted file mode 100644
index cf9ab81ef..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*! For license information please see swagger-ui.js.LICENSE.txt */
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with this
- * work for additional information regarding copyright ownership. The ASF
- * licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUICore=t():e.SwaggerUICore=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=fun [...]
"!="
"[e]()||a[e].name!==e}))}},function(e,t,n){var r=n(77),a=n(217);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(107),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(539),a=n(331),o=n(540),i [...]
-//# sourceMappingURL=swagger-ui.js.map
diff --git a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js.map b/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js.map
deleted file mode 100644
index d0bfbe69f..000000000
--- a/hugegraph-dist/src/assembly/static/swagger-ui/swagger-ui.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack://SwaggerUICore/webpack/universalModuleDefinition","webpack://SwaggerUICore/webpack/bootstrap","webpack://SwaggerUICore/external \"react\"","webpack://SwaggerUICore/external \"immutable\"","webpack://SwaggerUICore/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","webpack://SwaggerUICore/./node_modules/@babel/runtime-corejs3/helpers/defineProperty.js","webpack://SwaggerUICore/./node_modules/@babel/runtime-corejs3/core-js-stable/inst [...]
\ No newline at end of file