This is an automated email from the ASF dual-hosted git repository.
vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 7ec5229 FINERACT-835: Upgrade Swagger and automatically generate the
JSON spec (#1069)
7ec5229 is described below
commit 7ec5229e2338f53c107fe885907b5be866512381
Author: Petri Tuomola <[email protected]>
AuthorDate: Sat Jun 20 14:21:46 2020 +0300
FINERACT-835: Upgrade Swagger and automatically generate the JSON spec
(#1069)
Co-authored-by: Michael Vorburger ⛑️ <[email protected]>
---
README.md | 2 +
fineract-provider/build.gradle | 25 ++++-
fineract-provider/dependencies.gradle | 3 +-
.../core/boot/WebFrontEndConfiguration.java | 6 ++
.../main/resources/static/swagger-ui/index.html | 60 ++++++++++++
.../{ => static}/swagger-ui/response.json | 0
.../main/resources/swagger-ui/favicon-16x16.png | Bin 445 -> 0 bytes
.../main/resources/swagger-ui/favicon-32x32.png | Bin 1141 -> 0 bytes
.../src/main/resources/swagger-ui/index.html | 95 ------------------
.../main/resources/swagger-ui/oauth2-redirect.html | 53 ----------
.../main/resources/swagger-ui/swagger-ui-bundle.js | 108 ---------------------
.../resources/swagger-ui/swagger-ui-bundle.js.map | 1 -
.../swagger-ui/swagger-ui-standalone-preset.js | 20 ----
.../swagger-ui/swagger-ui-standalone-preset.js.map | 1 -
.../src/main/resources/swagger-ui/swagger-ui.css | 2 -
.../main/resources/swagger-ui/swagger-ui.css.map | 1 -
.../src/main/resources/swagger-ui/swagger-ui.js | 15 ---
.../main/resources/swagger-ui/swagger-ui.js.map | 1 -
18 files changed, 92 insertions(+), 301 deletions(-)
diff --git a/README.md b/README.md
index febda81..4c93bd0 100644
--- a/README.md
+++ b/README.md
@@ -251,6 +251,8 @@ Apache Fineract Platform API
The API for the Fineract-platform (project named 'Apache Fineract') is
documented in the API-docs under <b><i>Full API Matrix</i></b> and can be
viewed [here](https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm
"API Documentation").
+If you have your own Fineract instance running, you can find the same
documentation under '(your host:port)/fineract-provider/api-docs/apiLive.htm'
under your. The Swagger documentation (work in progress) can be accessed under
'(your host:port)/fineract-provider/swagger-ui/index.html'
+
API clients (Web UIs, Mobile, etc.)
============
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index 4e84887..1ffdeba 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -49,6 +49,7 @@ buildscript {
classpath
"gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:2.2.2"
classpath "net.ltgt.gradle:gradle-errorprone-plugin:1.2.1"
classpath "com.diffplug.spotless:spotless-plugin-gradle:4.4.0"
+ classpath "io.swagger.core.v3:swagger-gradle-plugin:2.1.2"
}
}
@@ -71,7 +72,7 @@ apply plugin: 'jacoco'
apply plugin: "com.gorylenko.gradle-git-properties"
apply plugin: "net.ltgt.errorprone"
apply plugin: "com.diffplug.gradle.spotless"
-// apply plugin: 'pmd'
+apply plugin: "io.swagger.core.v3.swagger-gradle-plugin"
dependencyManagement {
imports {
@@ -114,6 +115,9 @@ dependencyManagement {
dependency 'com.github.spotbugs:spotbugs-annotations:4.0.4'
dependency 'javax.cache:cache-api:1.1.1'
+ // If this is upgraded, you need to change path in
WebFrontEndConfiguration
+ dependency 'org.webjars.npm:swagger-ui-dist:3.26.0'
+
dependency ('org.dom4j:dom4j:2.1.3') {
exclude 'relaxngDatatype:relaxngDatatype' // already in
com.sun.xml.bind:jaxb-osgi:2.3.0.1
// FINERACT-940 && FINERACT-966
https://github.com/spotbugs/spotbugs/issues/1128
@@ -181,6 +185,18 @@ openjpa {
}
}
+// Configuration for Swagger documentation generation task
+//
https://github.com/swagger-api/swagger-core/tree/master/modules/swagger-gradle-plugin
+resolve {
+ outputFileName = 'fineract'
+ outputFormat = 'JSON'
+ prettyPrint = 'TRUE'
+ classpath = sourceSets.main.runtimeClasspath
+ outputDir = file("${buildDir}/classes/java/main/static/swagger-ui")
+}
+
+// Configuration for JaCoCo code coverage task
+// https://www.eclemma.org/jacoco/
jacoco {
toolVersion = jacocoVersion
reportsDir = file("$buildDir/reports/jacoco")
@@ -244,6 +260,8 @@ spotless {
lineEndings 'UNIX'
}
+// Configuration for Apache Release Audit Tool task
+// https://github.com/eskatos/creadur-rat-gradle
rat {
verbose = false
reportDir = new File(buildDir,'reports/rat')
@@ -274,7 +292,7 @@ rat {
'**/NOTICE_RELEASE',
'**/NOTICE_SOURCE',
// Swagger License
- '**/src/main/resources/swagger-ui/**',
+ '**/src/main/resources/static/swagger-ui/**',
// gradle
'**/.gradle/**',
'**/gradlew',
@@ -522,6 +540,7 @@ modernizer {
compileJava{
dependsOn rat
dependsOn spotlessCheck
+ finalizedBy resolve
}
/*
pmd {
@@ -556,7 +575,7 @@ license {
"**/*.mustache",
"**/package-info.java",
"**/keystore.jks",
- "**/swagger-ui/**",
+ "**/static/swagger-ui/**",
"**/api-docs/**",
])
strictCheck true
diff --git a/fineract-provider/dependencies.gradle
b/fineract-provider/dependencies.gradle
index cba17e4..80264da 100644
--- a/fineract-provider/dependencies.gradle
+++ b/fineract-provider/dependencies.gradle
@@ -76,7 +76,7 @@ dependencies {
'javax.cache:cache-api',
- 'com.github.spotbugs:spotbugs-annotations',
+ 'com.github.spotbugs:spotbugs-annotations'
)
implementation ('io.swagger:swagger-jersey-jaxrs') {
exclude group: 'javax.validation'
@@ -108,6 +108,7 @@ dependencies {
runtimeOnly(
'org.apache.bval:org.apache.bval.bundle',
'org.springframework.boot:spring-boot-starter-actuator',
+ 'org.webjars.npm:swagger-ui-dist',
// Although fineract (at the time of writing) doesn't have any
compile time dep. on httpclient,
// it's useful to have this for the Spring Boot TestRestTemplate
http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility
diff --git
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
index ef1e080..c90b2a6 100644
---
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
+++
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
@@ -34,5 +34,11 @@ public class WebFrontEndConfiguration implements
WebMvcConfigurer {
if (!registry.hasMappingForPattern("/**")) {
registry.addResourceHandler("/**").addResourceLocations(CLASSPATH_RESOURCE_LOCATIONS);
}
+
+ // TODO: The below path should be version agnostic
+ String[] SWAGGER_RESOURCE_LOCATIONS = {
"classpath:/static/swagger-ui/",
+
"classpath:/META-INF/resources/webjars/swagger-ui-dist/3.26.0/" };
+
+
registry.addResourceHandler("/swagger-ui/**").addResourceLocations(SWAGGER_RESOURCE_LOCATIONS);
}
}
diff --git a/fineract-provider/src/main/resources/static/swagger-ui/index.html
b/fineract-provider/src/main/resources/static/swagger-ui/index.html
new file mode 100644
index 0000000..7bc8913
--- /dev/null
+++ b/fineract-provider/src/main/resources/static/swagger-ui/index.html
@@ -0,0 +1,60 @@
+<!-- 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="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"> </script>
+ <script src="./swagger-ui-standalone-preset.js"> </script>
+ <script>
+ window.onload = function() {
+ // Begin Swagger UI call region
+ const ui = SwaggerUIBundle({
+ url: "response.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/fineract-provider/src/main/resources/swagger-ui/response.json
b/fineract-provider/src/main/resources/static/swagger-ui/response.json
similarity index 100%
rename from fineract-provider/src/main/resources/swagger-ui/response.json
rename to fineract-provider/src/main/resources/static/swagger-ui/response.json
diff --git a/fineract-provider/src/main/resources/swagger-ui/favicon-16x16.png
b/fineract-provider/src/main/resources/swagger-ui/favicon-16x16.png
deleted file mode 100644
index 0f7e13b..0000000
Binary files
a/fineract-provider/src/main/resources/swagger-ui/favicon-16x16.png and
/dev/null differ
diff --git a/fineract-provider/src/main/resources/swagger-ui/favicon-32x32.png
b/fineract-provider/src/main/resources/swagger-ui/favicon-32x32.png
deleted file mode 100644
index b0a3352..0000000
Binary files
a/fineract-provider/src/main/resources/swagger-ui/favicon-32x32.png and
/dev/null differ
diff --git a/fineract-provider/src/main/resources/swagger-ui/index.html
b/fineract-provider/src/main/resources/swagger-ui/index.html
deleted file mode 100644
index fc21c7d..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/index.html
+++ /dev/null
@@ -1,95 +0,0 @@
-<!-- HTML for static distribution bundle build -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>Swagger UI</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" />
- <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>
-
-<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
style="position:absolute;width:0;height:0">
- <defs>
- <symbol viewBox="0 0 20 20" id="unlocked">
- <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6
5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1
1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1
19h5.8c.549 0 1.428-.139
1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8
8z"></path>
- </symbol>
-
- <symbol viewBox="0 0 20 20" id="locked">
- <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6
5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672
18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139
1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8
8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"/>
- </symbol>
-
- <symbol viewBox="0 0 20 20" id="close">
- <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651
3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229
0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469
1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0
.469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0
1.698z"/>
- </symbol>
-
- <symbol viewBox="0 0 20 20" id="large-arrow">
- <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707
0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83
7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"/>
- </symbol>
-
- <symbol viewBox="0 0 20 20" id="large-arrow-down">
- <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908
7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701
0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"/>
- </symbol>
-
-
- <symbol viewBox="0 0 24 24" id="jump-to">
- <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"/>
- </symbol>
-
- <symbol viewBox="0 0 24 24" id="expand">
- <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
- </symbol>
-
- </defs>
-</svg>
-
-<div id="swagger-ui"></div>
-
-<script src="./swagger-ui-bundle.js"> </script>
-<script src="./swagger-ui-standalone-preset.js"> </script>
-<script>
-window.onload = function() {
- // Build a system
- const ui = SwaggerUIBundle({
- // url: "http://petstore.swagger.io/v2/swagger.json",
- // spec: "/home/sanyam/Desktop/newSwagger/swagger-ui/dist/response.json"
- url: "response.json",
- dom_id: '#swagger-ui',
- presets: [
- SwaggerUIBundle.presets.apis,
- SwaggerUIStandalonePreset
- ],
- plugins: [
- SwaggerUIBundle.plugins.DownloadUrl
- ],
- layout: "StandaloneLayout"
- })
-
- window.ui = ui
-}
-</script>
-</body>
-
-</html>
diff --git
a/fineract-provider/src/main/resources/swagger-ui/oauth2-redirect.html
b/fineract-provider/src/main/resources/swagger-ui/oauth2-redirect.html
deleted file mode 100644
index 00c7f01..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/oauth2-redirect.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<!doctype html>
-<html lang="en-US">
-<body onload="run()">
-</body>
-</html>
-<script>
- 'use strict';
- function run () {
- var oauth2 = window.opener.swaggerUIRedirectOauth2;
- var sentState = oauth2.state;
- var redirectUrl = oauth2.redirectUrl;
- var isValid, qp, arr;
-
- qp = (window.location.hash || 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.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 {
- oauth2.errCb({
- authId: oauth2.auth.name,
- source: "auth",
- level: "error",
- message: "Authorization failed: no accessCode received
from the server"
- });
- }
- } else {
- oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid,
redirectUrl: redirectUrl});
- }
- window.close();
- }
-</script>
diff --git
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js
deleted file mode 100644
index 5e71e30..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js
+++ /dev/null
@@ -1,108 +0,0 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof
module?module.exports=t():"function"==typeof
define&&define.amd?define([],t):"object"==typeof
exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,function(){return
function(e){function t(r){if(n[r])return n[r].exports;var
i=n[r]={exports:{},id:r,loaded:!1};return
e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return
t.m=e,t.c=n,t.p="/dist",t(0)}(function(e){for(var t in
e)if(Object.prototype.hasOwnPr [...]
-r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:y,setStrong:function(e,t,n){l(e,t,function(e,t){this._t=e,this._k=t,this._l=void
0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return
e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?p(0,n.k):"values"==t?p(0,n.v):p(0,[n.k,n.v]):(e._t=void
0,p(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var
r=n(4),i=n(8),o=n(18),a=n(210),s=n(22),u=n(206),c=n(205),l=n(13),p=n(7),f=n(165),h=n(24),d=n(88);e.exports=function(e,t,n,
[...]
-if(this.prev<i.finallyLoc)return
t(i.finallyLoc)}}}},abrupt:function(e,t){for(var
n=this.tryEntries.length-1;n>=0;--n){var
r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var
i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var
o=i?i.completion:{};return
o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,O):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw
e.arg;return"break"===e.t [...]
- * @description Recursive object extending
- * @author Viacheslav Lotsmanov <[email protected]>
- * @license MIT
- *
- * The MIT License (MIT)
- *
- * Copyright (c) 2013-2015 Viacheslav Lotsmanov
- *
- * Permission is hereby granted, free of charge, to any person
obtaining a copy of
- * this software and associated documentation files (the "Software"),
to deal in
- * the Software without restriction, including without limitation the
rights to
- * use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of
- * the Software, and to permit persons to whom the Software is
furnished to do so,
- * subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- */
-"use strict";function n(e){return e instanceof t||e instanceof Date||e
instanceof RegExp}function r(e){if(e instanceof t){var n=new t(e.length);return
e.copy(n),n}if(e instanceof Date)return new Date(e.getTime());if(e instanceof
RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function
i(e){var t=[];return e.forEach(function(e,a){"object"==typeof
e&&null!==e?Array.isArray(e)?t[a]=i(e):n(e)?t[a]=r(e):t[a]=o({},e):t[a]=e}),t}var
o=e.exports=function(){if(arguments.length [...]
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <[email protected]> <http://feross.org>
- * @license MIT
- */
-"use strict";function r(){try{var e=new Uint8Array(1);return
e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return
42}},42===e.foo()&&"function"==typeof
e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function
i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function
o(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return
a.TYPED_ARRAY_SUPPORT?(e=new
Uint8Array(t),e.__proto__=a.prototype):(null===e&&(e=new
a(t)),e.length=t),e}function a(e [...]
-return this}(),n(318)(e))},function(e,t){e.exports=function(e){return
e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){"use
strict";function n(e){var t,n=e.Symbol;return"function"==typeof
n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){va
[...]
-for(var n=0;n<this.size;n++)if(e(this._value,n,this)===!1)return n+1;return
n},$.prototype.__iterator=function(e,t){var n=this,r=0;return new
x(function(){return
r<n.size?w(e,r++,n._value):k()})},$.prototype.equals=function(e){return e
instanceof $?X(this._value,e._value):Y(e)};var
Tn;e(Q,M),Q.prototype.toString=function(){return 0===this.size?"Range
[]":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by
"+this._step:"")+" ]"},Q.prototype.get=function(e,t){return this.has(e)?thi
[...]
-t.newAuthErr=s,t.clear=u;var
c=n(332),l=r(c),p=t.NEW_THROWN_ERR="err_new_thrown_err",f=t.NEW_THROWN_ERR_BATCH="err_new_thrown_err_batch",h=t.NEW_SPEC_ERR="err_new_spec_err",d=t.NEW_AUTH_ERR="err_new_auth_err",m=t.CLEAR="err_clear"},function(e,t){"use
strict";function n(){var
e={location:{},history:{},open:function(){},close:function(){},File:function(){}};if("undefined"==typeof
window)return e;try{e=window;var t=["File","Blob","FormData"],n=!0,r=!1,i=void
0;try{for(var o,a=t[Symbol.itera [...]
-var u=a[e?s:++i];if(n(o[u],u,o)===!1)break}return
t}}e.exports=n},function(e,t,n){function r(e,t){return
function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var
o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&r(s[a],a,s)!==!1;);return n}}var
i=n(437);e.exports=r},[1484,387,437,428,374],function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var
n=h(e,t);if(n)return(0,s.default)(n,{declaration:!0,indent:"\t"})}Object.defineProperty(t,"__esMo
[...]
-},t.setInterval=function(){return new
r(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var
t=e._idleTime [...]
-n=0,a=1,s=i(null),u=i(null),c=0}}}},function(e,t,n){"use strict";var
r=n(520),i=n(508),o=Object.create,a=Object.defineProperties;i.refCounter=function(e,t,n){var
s,u;s=o(null),u=n.async&&i.async||n.promise&&i.promise?"async":"",t.on("set"+u,function(e,t){s[e]=t||1}),t.on("get"+u,function(e){++s[e]}),t.on("delete"+u,function(e){delete
s[e]}),t.on("clear"+u,function(){s={}}),a(t.memoized,{deleteRef:r(function(){var
e=t.get(arguments);return null===e?null:s[e]?!--s[e]&&(t.delete(e),!0):null
[...]
-a?e.tag=r:V.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:d(e,'undeclared
tag handle "'+n+'"'),!0}function M(e){var
t,n;if(n=e.input.charCodeAt(e.position),38!==n)return!1;for(null!==e.anchor&&d(e,"duplication
of an anchor
property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!o(n)&&!a(n);)n=e.input.charCodeAt(++e.position);return
e.position===t&&d(e,"name of an anchor node must contain at least one
character"),e.anchor=e.input [...]
-line:e.lineNumber,column:e.start-e.lineStart}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.lineNumber,column:this.lastMarker.index-this.lastMarker.lineStart}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var
n={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.lineNumber,column:this.lastMarker.ind
[...]
-inFor:!0});if(this.context.allowIn=l,1===p.length&&this.matchKeyword("in")){var
f=p[0];f.init&&(f.id.type===u.Syntax.ArrayPattern||f.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),n=this.finalize(n,new
c.VariableDeclaration(p,"var")),this.nextToken(),e=n,t=this.parseExpression(),n=null}else
1===p.length&&null===p[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new
c.VariableDeclaration(p,"var")),this.ne [...]
-return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case
7:return"default"===e||"finally"===e||"extends"===e;case
8:return"function"===e||"continue"===e||"debugger"===e;case
10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var
t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var
n=this.source.charCodeAt(e+1);if(n>=56320&&n<=57343){var
r=t;t=1024*(r-55296)+n-56320+65536}}return
t},e.prototype.scanHexEscape=function(e){ [...]
-this.params=t,this.body=n,this.generator=i,this.expression=!1}return
e}();t.FunctionDeclaration=P;var I=function(){function
e(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1}return
e}();t.FunctionExpression=I;var j=function(){function
e(e){this.type=r.Syntax.Identifier,this.name=e}return e}();t.Identifier=j;var
R=function(){function
e(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=n
[...]
-r[e]=t;break;case"port":r[e]=t,c(t,r.protocol)?t&&(r.host=r.hostname+":"+t):(r.host=r.hostname,r[e]="");break;case"hostname":r[e]=t,r.port&&(t+=":"+r.port),r.host=t;break;case"host":r[e]=t,/:\d+$/.test(t)?(t=t.split(":"),r.port=t.pop(),r.hostname=t.join(":")):(r.hostname=t,r.port="");break;case"protocol":r.protocol=t.toLowerCase(),r.slashes=!n;break;case"pathname":r.pathname=t.length&&"/"!==t.charAt(0)?"/"+t:t;break;default:r[e]=t}for(var
i=0;i<h.length;i++){var o=h[i];o[4]&&(r[o[1]]=r[o [...]
- object-assign
- (c) Sindre Sorhus
- @license MIT
- */
-"use strict";function n(e){if(null===e||void 0===e)throw new
TypeError("Object.assign cannot be called with null or undefined");return
Object(e)}function r(){try{if(!Object.assign)return!1;var e=new
String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var
t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var
r=Object.getOwnPropertyNames(t).map(function(e){return
t[e]});if("0123456789"!==r.join(""))return!1;var
i={};return"abcdefghijklmnopqrst".split("").forEach( [...]
-var t=u[e],n=s.indexOf(e);if(n>-1?void
0:a("96",e),!c.plugins[n]){t.extractEvents?void 0:a("97",e),c.plugins[n]=t;var
r=t.eventTypes;for(var o in r)i(r[o],t,o)?void 0:a("98",o,e)}}}function
i(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void
0,c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var
i in r)if(r.hasOwnProperty(i)){var
s=r[i];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function
o(e,t,n){c.registrationNa [...]
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as
`change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
-function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in
document))return!1;var n="on"+e,r=n in document;if(!r){var
a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof
a[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var
i,o=n(667);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use
strict";function n(e){var t [...]
-n}function i(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in
t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var
o=n(667),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};o.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in
window||(delete a.animationend.animation,delete a.animationiterati [...]
-}var
u=n(654);n(631);e.exports={isAncestor:i,getLowestCommonAncestor:r,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use
strict";var
r=n(654),i=n(623),o=n(695),a=n(696),s=n(653),u=n(701),c=(n(631),n(750),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});i(c.prototype,{mountComponent:function(e,t,n,r){var
i=n._idCounter++,o= [...]
-return r},s.prototype.configureFinalMapState=function(e,t){var
n=f(e.getState(),t),r="function"==typeof n;return
this.finalMapStateToProps=r?n:f,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return
this.configureFinalMapDispatch(e,t);var
n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n
[...]
-if(u.call(l,":")>=0){for(r=function(){var
e,t,n,r;for(n=l.split(/:/g),r=[],e=0,t=n.length;e<t;e++)a=n[e],r.push(parseInt(a));return
r}(),r.reverse(),t=1,l=0,i=0,o=r.length;i<o;i++)n=r[i],l+=n*t,t*=60;return
c*l}return c*parseInt(l)},r.prototype.construct_yaml_float=function(e){var
t,n,r,i,o,a,s,c,l;if(l=this.construct_scalar(e),l=l.replace(/_/g,"").toLowerCase(),c="-"===l[0]?-1:1,s=l[0],u.call("+-",s)>=0&&(l=l.slice(1)),".inf"===l)return
Infinity*c;if(".nan"===l)return NaN;if(u.call(l,": [...]
-a=i+1)),t&&0<i&&i<e.length-1&&("
"===n||a>=i)&&this.column+(i-a)>this.best_width&&(r=e.slice(a,i)+"\\",a<i&&(a=i),this.column+=r.length,this.stream.write(r,this.encoding),this.write_indent(),this.whitespace=!1,this.indentation=!1,"
"===e[a]&&(r="\\",this.column+=r.length,this.stream.write(r,this.encoding))),i++;return
this.write_indicator('"',!1)},n.prototype.write_folded=function(e){var
t,n,r,i,o,a,s,c,l,p,f,h,d;for(a=this.determine_block_hints(e),this.write_indicator(">"+a,!0),"+"===a.
[...]
-r=this.peek(),c.call(n+"\0 ",r)<0)throw new t.ScannerError("while scanning a
directive",e,"expected ' ' but found "+r,this.get_mark());return
i},e.prototype.scan_directive_ignored_line=function(e){for(var r,i;"
"===this.peek();)this.forward();if("#"===this.peek())for(;i=this.peek(),c.call(n+"\0",i)<0;)this.forward();if(r=this.peek(),c.call(n+"\0",r)<0)throw
new t.ScannerError("while scanning a directive",e,"expected a comment or a
line break but found "+r,this.get_mark());return this.sca [...]
-t.legacyIdFromPathMethod=a,t.getOperationRaw=s,t.findOperation=u,t.eachOperation=c,t.normalizeSwagger=l;var
v=n(40),g=r(v),_=function(e){return
String.prototype.toLowerCase.call(e)},b=function(e){return
e.replace(/[^\w]/gi,"_")}},function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{default:e}}function
i(e,t,n){if(n=n||{},t=(0,q.default)({},t,{path:t.path&&o(t.path)}),"merge"===t.op){var
r=s(t.path);W.default.apply(e,[r]),(0,q.default)(r.value,t.value)}else
if("mergeDeep"= [...]
-},9,[1387,909],21,[1381,911,919,915],[1382,912,914,918,915],[1383,913],13,[1384,915,916,917],[1380,916],7,[1385,913,902],[1386,913],17,function(e,t,n){e.exports={default:n(921),__esModule:!0}},function(e,t,n){n(922),e.exports=n(907).Object.assign},[1417,906,923],[1418,890,924,925,888,894,916],43,44,function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var
i=n(920),o=r(i);t.default=o.default||function(e){for(var
t=1;t<arguments.length;t++){var n=a [...]
- * https://github.com/Starcounter-Jack/JSON-Patch
- * json-patch-duplex.js version: 1.1.10
- * (c) 2013 Joachim Wester
- * MIT license
- */
-var r;!function(e){function t(e,n){switch(typeof
e){case"undefined":case"boolean":case"string":case"number":return
e===n;case"object":if(null===e)return
null===n;if(E(e)){if(!E(n)||e.length!==n.length)return!1;for(var
r=0,i=e.length;r<i;r++)if(!t(e[r],n[r]))return!1;return!0}var
o=g(n),a=o.length;if(g(e).length!==a)return!1;for(var
r=0;r<a;r++)if(!t(e[r],n[r]))return!1;return!0;default:return!1}}function
n(e){return
e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace( [...]
-n}Object.defineProperty(t,"__esModule",{value:!0}),t.transformPathToArray=i;var
a=n(447),s=r(a)},function(e,t,n){"use strict";function
r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in
e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return
t.default=e,t}function
i(){return{components:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var
o=n(1164),a=r(o)},function(e,t,n){"use strict";var
r=n(335),i=n(1165);i.keys().forEach(function(t){if("./index.js" [...]
- * Bowser - a browser detector
- * https://github.com/ded/bowser
- * MIT License | (c) Dustin Diaz 2015
- */
-!function(t,r,i){"undefined"!=typeof
e&&e.exports?e.exports=i():n(1189)(r,i)}(this,"bowser",function(){function
e(e){function t(t){var n=e.match(t);return n&&n.length>1&&n[1]||""}function
n(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}function
r(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT
5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT
6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT
6.3":return"8.1";case"NT 10.0" [...]
-},function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been
called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function
a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression
must either be null or a function, not "+typeof t);e.prototype=Ob [...]
-required:"required",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),h.valueSeq().map(function(e,t){return
c.default.createElement(u,{error:e,key:t})}))}}]),t}(c.default.Component);f.propTypes={authorized:u.PropTypes.object,getComponent:u.PropTypes.func.isRequired,schema:u.PropTypes.object.isRequired,onChange:u.PropTypes.func.isRequired},f.propTypes={name:u.PropTypes.string.isRequired,errSelectors:u.PropTypes.object.isRequired,getComponent:u.PropType
[...]
-className:"responses-wrapper"},l.default.createElement("div",{className:"opblock-section-header"},l.default.createElement("h4",null,"Responses"),l.default.createElement("label",null,l.default.createElement("span",null,"Response
content
type"),l.default.createElement(h,{value:c,onChange:this.onChangeProducesWrapper,contentTypes:y,className:"execute-content-type"}))),l.default.createElement("div",{className:"responses-inner"},i?l.default.createElement("div",null,l.default.createElement(d,{
[...]
-return
Math.abs(p)<s&&Math.abs(f-i)<s?(r[0]=i,r[1]=0,r):(r[0]=f,r[1]=p,r)}t.__esModule=!0,t.default=n;var
r=[];e.exports=t.default},function(e,t,n){(function(t){(function(){var
n,r,i;"undefined"!=typeof
performance&&null!==performance&&performance.now?e.exports=function(){return
performance.now()}:"undefined"!=typeof
t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},r=t.hrtime,n=function(){var
e;return e=r(),1e9*e[0]+e[1]},i=n()):Date.now?(e.exports=function(){return
Date.no [...]
-function t(){return
i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return
a(t,e),s(t,[{key:"render",value:function(){return
c.default.createElement("div",{className:"footer"})}}]),t}(c.default.Component);t.default=l},function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{default:e}}function
i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been ini
[...]
-blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",
[...]
-"use strict";function
n(e,t,n,r,i){this.src=e,this.env=r,this.options=n,this.parser=t,this.tokens=i,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}n.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},n.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push
[...]
- * Autolinker.js
- * 0.15.3
- *
- * Copyright(c) 2015 Gregory Jacobs <[email protected]>
- * MIT Licensed. http://www.opensource.org/licenses/mit-license.php
- *
- * https://github.com/gregjacobs/Autolinker.js
- */
-var e=function(t){e.Util.assign(this,t)};return
e.prototype={constructor:e,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,truncate:void
0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void
0,link:function(e){for(var
t=this.getHtmlParser(),n=t.parse(e),r=0,i=[],o=0,a=n.length;o<a;o++){var
s=n[o],u=s.getType(),c=s.getText();if("element"===u)"a"===s.getTagName()&&(s.isClosing()?r=Math.max(r-1,0):r++),i.push(c);else
if("entity"===u)i.push(c);else if(0===r){var l=this. [...]
-if(o=u>0?e.src.charCodeAt(u-1):-1,a=e.src.charCodeAt(u+2),43===o)return!1;if(43===a)return!1;if(32===a||10===a)return!1;for(r=u+2;r<s&&43===e.src.charCodeAt(r);)r++;if(r!==u+2)return
e.pos+=r-u,t||(e.pending+=e.src.slice(u,r)),!0;for(e.pos=u+2,i=1;e.pos+1<s;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(o=e.src.charCodeAt(e.pos-1),a=e.pos+2<s?e.src.charCodeAt(e.pos+2):-1,43!==a&&43!==o&&(32!==o&&10!==o?i--:32!==a&&10!==a&&i++,i<=0))){n=!0;break}e.parser.skipToken(e)}
[...]
-this._index++}this._cleanup()},s.prototype.pause=function(){this._running=!1},s.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},s.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end()
after
done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},s.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},s.prototype._handleTrailingData
[...]
-get:function(){return this[t]||null},set:function(e){return
this[t]=e,e}})})},function(e,t,n){function r(e,t){this.init(e,t)}function
i(e,t){return l.getElementsByTagName(e,t,!0)}function o(e,t){return
l.getElementsByTagName(e,t,!0,1)[0]}function a(e,t,n){return
l.getText(l.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,i){var
o=a(n,r,i);o&&(e[t]=o)}var
u=n(1343),c=u.DomHandler,l=u.DomUtils;n(474)(r,c),r.prototype.init=c;var
p=function(e){return"rss"===e||"feed"===e||"rdf:RDF"= [...]
-e.exports=Object.getPrototypeOf||function(e){return
e=s(e),a(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof
e.constructor?e.constructor.prototype:e instanceof
Object?c:null}},function(e,t,n,r,i,o){var
a=n(r),s=n(i);n(o)("keys",function(){return function(e){return
s(a(e))}})},function(e,t,n,r,i){var
o=n(r);o(o.S+o.F,"Object",{assign:n(i)})},function(e,t,n,r,i,o,a,s,u){"use
strict";var
c=n(r),l=n(i),p=n(o),f=n(a),h=n(s),d=Object.assign;e.exports=!d||n(u)(function(){var
e={},t={}, [...]
-//# sourceMappingURL=swagger-ui-bundle.js.map
\ No newline at end of file
diff --git
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js.map
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js.map
deleted file mode 100644
index 9371c12..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-bundle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"swagger-ui-bundle.js","sources":["webpack:///swagger-ui-bundle.js"],"mappings":"AAAA;AAu/FA;AA6+FA;;;;;;;;;;;;;;;;;;;;;;;;;;AA2TA;;;;;;AAoIA;AAi7FA;AAmtCA;AAi0IA;AAioJA;AA2iGA;AAs+FA;AA4kFA;AA6jFA;AAm9CA;AA6jDA;AAgrCA;AA+/EA;;;;;AAu3BA;AA0qJA;;;;;;;;;;;;;;AAwoFA;AA+lIA;AA2hJA;AAo2HA;AA8lGA;AAwiEA;AAo4DA;AAk7DA;AAyHA;;;;;;AA6iGA;AA07FA;;;;;AAi8CA;AAgsFA;AAs2CA;AAilCA;AA+7CA;AA85DA;AA4zCA;AAs5FA;;;;;;;;;AAqlCA;AA2zIA;AAu7FA;AAmrFA;AA20EA","sourceRoot":""}
\ No newline at end of file
diff --git
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js
deleted file mode 100644
index 97adc53..0000000
---
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js
+++ /dev/null
@@ -1,20 +0,0 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof
module?module.exports=t():"function"==typeof
define&&define.amd?define([],t):"object"==typeof
exports?exports.SwaggerUIStandalonePreset=t():e.SwaggerUIStandalonePreset=t()}(this,function(){return
function(e){function t(i){if(r[i])return r[i].exports;var
n=r[i]={exports:{},id:i,loaded:!1};return
e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return
t.m=e,t.c=r,t.p="/dist",t(0)}([function(e,t,r){e.exports=r(1)},fu [...]
- object-assign
- (c) Sindre Sorhus
- @license MIT
- */
-"use strict";function r(e){if(null===e||void 0===e)throw new
TypeError("Object.assign cannot be called with null or undefined");return
Object(e)}function i(){try{if(!Object.assign)return!1;var e=new
String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var
t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var
i=Object.getOwnPropertyNames(t).map(function(e){return
t[e]});if("0123456789"!==i.join(""))return!1;var
n={};return"abcdefghijklmnopqrst".split("").forEach( [...]
-},function(e,t){e.exports=function(){var e=[];return
e.toString=function(){for(var e=[],t=0;t<this.length;t++){var
r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return
e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var
i={},n=0;n<this.length;n++){var s=this[n][0];"number"==typeof
s&&(i[s]=!0)}for(n=0;n<t.length;n++){var o=t[n];"number"==typeof
o[0]&&i[o[0]]||(r&&!o[2]?o[2]=r:r&&(o[2]="("+o[2]+") and
("+r+")"),e.push(o))}},e}},function(e,t,r){fun [...]
-t=i[0],"-"!==t&&"+"!==t||("-"===t&&(n=-1),i=i.slice(1),t=i[0]),"0"===i?0:"0"===t?"b"===i[1]?n*parseInt(i.slice(2),2):"x"===i[1]?n*parseInt(i,16):n*parseInt(i,8):i.indexOf(":")!==-1?(i.split(":").forEach(function(e){s.unshift(parseInt(e,10))}),i=0,r=1,s.forEach(function(e){i+=e*r,r*=60}),n*i):n*parseInt(i,10)}function
u(e){return"[object
Number]"===Object.prototype.toString.call(e)&&e%1===0&&!c.isNegativeZero(e)}var
c=r(44),l=r(49);e.exports=new l("tag:yaml.org,2002:int",{kind:"scalar",re [...]
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <[email protected]> <http://feross.org>
- * @license MIT
- */
-"use strict";function i(){try{var e=new Uint8Array(1);return
e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return
42}},42===e.foo()&&"function"==typeof
e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function
n(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function
s(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return
o.TYPED_ARRAY_SUPPORT?(e=new
Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new
o(t)),e.length=t),e}function o(e [...]
-"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.sourceType=t&&"module"===t.sourceType?"module":"script",this.lookahead=null,this.hasLineTerminator=!1,this.context={allowIn:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:"module"===this.sourceType},this.tokens=[],this.startMarker={index:0,lineNumber:
[...]
-a=!0,this.nextToken();var
p=this.parseAssignmentExpression();i=this.finalize(this.startNode(l),new
c.AssignmentPattern(h,p))}else
this.match(":")?(this.expect(":"),i=this.parsePatternWithDefault(e,t)):(e.push(l),a=!0,i=h)}else
s=this.match("["),r=this.parseObjectPropertyKey(),this.expect(":"),i=this.parsePatternWithDefault(e,t);return
this.finalize(n,new
c.Property("init",r,s,i,u,a))},e.prototype.parseObjectPattern=function(e,t){var
r=this.createNode(),i=[];for(this.expect("{");!this.mat [...]
-e[e.Identifier=3]="Identifier",e[e.Keyword=4]="Keyword",e[e.NullLiteral=5]="NullLiteral",e[e.NumericLiteral=6]="NumericLiteral",e[e.Punctuator=7]="Punctuator",e[e.StringLiteral=8]="StringLiteral",e[e.RegularExpression=9]="RegularExpression",e[e.Template=10]="Template"}(t.Token||(t.Token={}));var
r=t.Token;t.TokenName={},t.TokenName[r.BooleanLiteral]="Boolean",t.TokenName[r.EOF]="<end>",t.TokenName[r.Identifier]="Identifier",t.TokenName[r.Keyword]="Keyword",t.TokenName[r.NullLiteral]="Nul
[...]
-};t.Character={fromCodePoint:function(e){return
e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return
32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return
10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return
36===e||95===e||e>=65&&e<=90||e>=97&&e<= [...]
-for(n=0,s=f.length;n<s;n+=1)l="",i&&0===n||(l+=a(e,t)),o=f[n],u=r[o],C(e,t+1,o,!0,!0,!0)&&(c=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,c&&(l+=e.dump&&R===e.dump.charCodeAt(0)?"?":"?
"),l+=e.dump,c&&(l+=a(e,t)),C(e,t+1,u,!0,c)&&(l+=e.dump&&R===e.dump.charCodeAt(0)?":":":
",l+=e.dump,h+=l));e.tag=p,e.dump=h||"{}"}function k(e,t,r){var
i,n,s,o,a,u;for(n=r?e.explicitTypes:e.implicitTypes,s=0,o=n.length;s<o;s+=1)if(a=n[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||"object"==type
[...]
-//# sourceMappingURL=swagger-ui-standalone-preset.js.map
\ No newline at end of file
diff --git
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js.map
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js.map
deleted file mode 100644
index 06b2d0f..0000000
---
a/fineract-provider/src/main/resources/swagger-ui/swagger-ui-standalone-preset.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"swagger-ui-standalone-preset.js","sources":["webpack:///swagger-ui-standalone-preset.js"],"mappings":"AAAA;;;;;AA0SA;AAgyGA;AAuxFA;;;;;;AAocA;AAkvFA;AAu+CA;AAo+CA;AAgrCA;AAuyEA","sourceRoot":""}
\ No newline at end of file
diff --git a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css
deleted file mode 100644
index 1488ef3..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css
+++ /dev/null
@@ -1,2 +0,0 @@
-@charset "UTF-8";.swagger-ui html{box-sizing:border-box}.swagger-ui
*,.swagger-ui :after,.swagger-ui :before{box-sizing:inherit}.swagger-ui
body{margin:0;background:#fafafa}.swagger-ui
.wrapper{width:100%;max-width:1460px;margin:0 auto;padding:0 20px}.swagger-ui
.opblock-tag-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.swagger-ui
.opblock-tag{display:-webkit-box;displ [...]
-/*# sourceMappingURL=swagger-ui.css.map*/
\ No newline at end of file
diff --git a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css.map
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css.map
deleted file mode 100644
index dbf47ea..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.css.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"swagger-ui.css","sources":[],"mappings":"","sourceRoot":""}
\ No newline at end of file
diff --git a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js
deleted file mode 100644
index e005fe9..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js
+++ /dev/null
@@ -1,15 +0,0 @@
-!function(e,t){"object"==typeof exports&&"object"==typeof
module?module.exports=t(require("babel-polyfill"),require("deep-extend"),require("redux"),require("immutable"),require("redux-immutable"),require("serialize-error"),require("base64-js"),require("ieee754"),require("isarray"),require("shallowequal"),require("xml"),require("memoizee"),require("reselect"),require("js-yaml"),require("url-parse"),require("react"),require("react-dom"),require("react-redux"),require("yaml-js"),require("sw
[...]
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <[email protected]> <http://feross.org>
- * @license MIT
- */
-"use strict";function n(){try{var e=new Uint8Array(1);return
e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return
42}},42===e.foo()&&"function"==typeof
e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function
o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function
a(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return
u.TYPED_ARRAY_SUPPORT?(e=new
Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new
u(t)),e.length=t),e}function u(e [...]
-n(e,a(t,3))}var
o=r(83),a=r(84),u=r(147),i=r(26),s=r(153);e.exports=n},function(e,t){function
r(e,t){for(var
r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}e.exports=r},function(e,t,r){function
n(e){return"function"==typeof e?e:null==e?u:"object"==typeof
e?i(e)?a(e[0],e[1]):o(e):s(e)}var
o=r(85),a=r(132),u=r(143),i=r(26),s=r(144);e.exports=n},function(e,t,r){function
n(e){var t=a(e);return
1==t.length&&t[0][2]?u(t[0][0],t[0][1]):function(r){return r===e||o(r,e,t)}}var
[...]
-return function(t){var
r=t.specActions,n=t.specSelectors,o=t.errActions,a=n.specStr,u=null;try{e=e||a(),o.clear({source:"parser"}),u=_.default.safeLoad(e)}catch(e){return
console.error(e),o.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void
0})}return r.updateJsonSpec(u)}},t.resolveSpec=function(e,t){return
function(r){var
n=r.specActions,o=r.specSelectors,a=r.errActions,u=r.fn,i=u.fetch,s=u.resolve,l=u.AST,c=r.getConfigs,f=c(),p=f.mode
[...]
-type:h,payload:e}}function i(e){return{type:y,payload:e}}function
s(e){return{type:m,payload:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.authorizeRequest=t.authorizeAccessCode=t.authorizeApplication=t.authorizePassword=t.preAuthorizeImplicit=t.CONFIGURE_AUTH=t.VALIDATE=t.AUTHORIZE_OAUTH2=t.PRE_AUTHORIZE_OAUTH2=t.LOGOUT=t.AUTHORIZE=t.SHOW_AUTH_POPUP=void
0,t.showDefinitions=o,t.authorize=a,t.logout=u,t.authorizeOauth2=i,t.configureAuth=s;var
l=r(11),c=n(l),f=r(12),p=t.SHOW_AUTH_ [...]
-function t(e,r){a(this,t);var
n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));b.call(n);var
o=n.props,i=o.name,s=o.schema,l=o.authorized,c=o.authSelectors,f=l&&l.get(i),p=c.getConfigs()||{},d=f&&f.get("username")||"",h=f&&f.get("clientId")||p.clientId||"",y=f&&f.get("clientSecret")||p.clientSecret||"",m=f&&f.get("passwordType")||"request-body";return
n.state={appName:p.appName,name:i,schema:s,scopes:[],clientId:h,clientSecret:y,username:d,password:"",passwordType:m},n}re
[...]
-return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function
u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression
must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var
i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n [...]
-return
p.default.createElement("select",{multiple:r,value:o,onChange:this.onChange},n?p.default.createElement("option",{value:""},"--"):null,t.map(function(e,t){return
p.default.createElement("option",{key:t,value:String(e)},e)}))}}]),t}(p.default.Component));_.propTypes={allowedValues:f.PropTypes.array,value:f.PropTypes.any,onChange:f.PropTypes.func,multiple:f.PropTypes.bool,allowEmptyValue:f.PropTypes.bool},_.defaultProps={multiple:!1,allowEmptyValue:!0};var
E=function(){var e=this;thi [...]
-e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var
i=function(){function e(e,t){for(var r=0;r<t.length;r++){var
n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in
n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return
function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(187),l=n(s),c=
[...]
-//# sourceMappingURL=swagger-ui.js.map
\ No newline at end of file
diff --git a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js.map
b/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js.map
deleted file mode 100644
index fa8f11e..0000000
--- a/fineract-provider/src/main/resources/swagger-ui/swagger-ui.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;;;;;;AAizCA;AAoyHA;AAmyHA;AAukGA;AA+9BA;AA8jCA;AAyiCA;AAs5BA","sourceRoot":""}
\ No newline at end of file