File tree 4 files changed +22
-23
lines changed
4 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 2
2
__description__ = 'Python static file bundles for OpenAPI UI tools'
3
3
__url__ = 'https://github.com/dapper91/python-openapi-ui-bundles'
4
4
5
- __version__ = '0.2.0 '
5
+ __version__ = '0.2.1 '
6
6
7
7
__author__ = 'Dmitry Pershin'
8
8
Original file line number Diff line number Diff line change 14
14
< div id ="swagger-ui "> </ div >
15
15
< script src ="./swagger-ui-bundle.js " charset ="UTF-8 "> </ script >
16
16
< script src ="./swagger-ui-standalone-preset.js " charset ="UTF-8 "> </ script >
17
- < script src ="./swagger-initializer.js " charset ="UTF-8 "> </ script >
17
+ < script >
18
+ window . onload = function ( ) {
19
+ window . ui = SwaggerUIBundle ( {
20
+ url : "https://petstore.swagger.io/v2/swagger.json" ,
21
+ dom_id : '#swagger-ui' ,
22
+ deepLinking : true ,
23
+ presets : [
24
+ SwaggerUIBundle . presets . apis ,
25
+ SwaggerUIStandalonePreset
26
+ ] ,
27
+ plugins : [
28
+ SwaggerUIBundle . plugins . DownloadUrl
29
+ ] ,
30
+ layout : "StandaloneLayout"
31
+ } ) ;
32
+ } ;
33
+ </ script >
18
34
</ body >
19
35
</ html >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def parse_about():
51
51
packages = find_packages (),
52
52
install_requires = requirements ,
53
53
classifiers = [
54
- 'Development Status :: 4 - Beta ' ,
54
+ 'Development Status :: 5 - Production/Stable ' ,
55
55
'Intended Audience :: Developers' ,
56
56
'Natural Language :: English' ,
57
57
'License :: OSI Approved :: Apache Software License' ,
@@ -61,6 +61,9 @@ def parse_about():
61
61
'Programming Language :: Python :: 3.7' ,
62
62
'Programming Language :: Python :: 3.8' ,
63
63
'Programming Language :: Python :: 3.9' ,
64
+ 'Programming Language :: Python :: 3.10' ,
65
+ 'Programming Language :: Python :: 3.11' ,
66
+ 'Programming Language :: Python :: 3.12' ,
64
67
],
65
68
project_urls = {
66
69
'Source' : 'https://github.com/dapper91/python-openapi_ui_bundles' ,
You can’t perform that action at this time.
0 commit comments