Skip to content

Commit fa4998f

Browse files
authored
Merge pull request #2 from dapper91/upgrade
UI libraries upgraded
2 parents 816cb48 + 5cc9e25 commit fa4998f

30 files changed

+5814
-220
lines changed

openapi_ui_bundles/__about__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
__description__ = 'Python static file bundles for OpenAPI UI tools'
33
__url__ = 'https://github.com/dapper91/python-openapi-ui-bundles'
44

5-
__version__ = '0.1.0'
5+
__version__ = '0.2.0'
66

77
__author__ = 'Dmitry Pershin'
8-
__email__ = 'dapper91@mail.ru'
8+
__email__ = 'dapper1291@gmail.com'
99

1010
__license__ = 'Apache Software License'

openapi_ui_bundles/rapidoc/vendor/default.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi_ui_bundles/rapidoc/vendor/highlight.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>RapiDoc Example</title><script defer="defer" src="rapidoc-min.js"></script></head><script>window.addEventListener('DOMContentLoaded', (event) => {
2-
const docEl = document.getElementById('thedoc');
3-
docEl.addEventListener('before-try', (e) => {
4-
e.detail.request.headers.append('AAA-BBB', 'CCC DDDD');
5-
});
6-
});</script><body><rapi-doc spec-url="./specs/temp.yaml" id="thedoc" theme="light" render-style="read" schema-style="table"></rapi-doc></body></html>
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
6+
<title>RapiDoc</title>
7+
<link rel="stylesheet" href="./default.min.css">
8+
<script src="./highlight.min.js"></script>
9+
<script defer="defer" src="./rapidoc-min.js"></script>
10+
</head>
11+
<script>
12+
window.addEventListener('DOMContentLoaded', (event) => {
13+
const docEl = document.getElementById('thedoc');
14+
docEl.addEventListener('before-try', (e) => {
15+
e.detail.request.headers.append('AAA-BBB', 'CCC DDDD');
16+
});
17+
});
18+
</script>
19+
<body>
20+
<rapi-doc spec-url="./specs/temp.yaml" id="thedoc" theme="dark" render-style="view" schema-style="table" show-method-in-nav-bar="true" use-path-in-nav-bar="true" show-components="true" show-info="true" show-header="true" allow-search="false" allow-advanced-search="true" allow-spec-url-load="false" allow-spec-file-download="true" allow-server-selection="true" allow-authentication="true" update-route="false" match-type="regex" persist-auth="true"></rapi-doc>
21+
</body>
22+
</html>
-408 Bytes
Binary file not shown.

openapi_ui_bundles/rapidoc/vendor/rapidoc-min.js

Lines changed: 3894 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi_ui_bundles/rapidoc/vendor/rapidoc-min.js.LICENSE.txt

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,48 @@
55
* @license MIT
66
*/
77

8-
/*!
9-
* cookie
10-
* Copyright(c) 2012-2014 Roman Shtylman
11-
* Copyright(c) 2015 Douglas Christopher Wilson
12-
* MIT Licensed
13-
*/
14-
158
/*!
169
* https://github.com/Starcounter-Jack/JSON-Patch
1710
* (c) 2017 Joachim Wester
1811
* MIT license
1912
*/
2013

14+
/*!
15+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
16+
*
17+
* Copyright (c) 2014-2017, Jon Schlinkert.
18+
* Released under the MIT License.
19+
*/
20+
21+
/*!
22+
* repeat-string <https://github.com/jonschlinkert/repeat-string>
23+
*
24+
* Copyright (c) 2014-2015, Jon Schlinkert.
25+
* Licensed under the MIT License.
26+
*/
27+
2128
/*! https://mths.be/punycode v1.3.2 by @mathias */
2229

2330
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2431

32+
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
33+
34+
/**
35+
* @license
36+
* Copyright 2017 Google LLC
37+
* SPDX-License-Identifier: BSD-3-Clause
38+
*/
39+
2540
/**
2641
* @license
27-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
28-
* This code may only be used under the BSD style license found at
29-
* http://polymer.github.io/LICENSE.txt
30-
* The complete set of authors may be found at
31-
* http://polymer.github.io/AUTHORS.txt
32-
* The complete set of contributors may be found at
33-
* http://polymer.github.io/CONTRIBUTORS.txt
34-
* Code distributed by Google as part of the polymer project is also
35-
* subject to an additional IP rights grant found at
36-
* http://polymer.github.io/PATENTS.txt
42+
* Copyright 2018 Google LLC
43+
* SPDX-License-Identifier: BSD-3-Clause
44+
*/
45+
46+
/**
47+
* @license
48+
* Copyright 2019 Google LLC
49+
* SPDX-License-Identifier: BSD-3-Clause
3750
*/
3851

3952
/**
@@ -47,20 +60,8 @@
4760

4861
/**
4962
* @preserve
50-
* RapiDoc 9.0.1-beta - WebComponent to View OpenAPI docs
63+
* RapiDoc 9.3.4 - WebComponent to View OpenAPI docs
5164
* License: MIT
52-
* Repo : https://github.com/mrin9/RapiDoc
65+
* Repo : https://github.com/rapi-doc/RapiDoc
5366
* Author : Mrinmoy Majumdar
54-
*
55-
/******/
56-
57-
/**
58-
@license
59-
Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
60-
This code may only be used under the BSD style license found at
61-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
62-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
63-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
64-
part of the polymer project is also subject to an additional IP rights grant
65-
found at http://polymer.github.io/PATENTS.txt
6667
*/
Binary file not shown.
Binary file not shown.

openapi_ui_bundles/rapidoc/vendor/rapidoc-min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)