rswag-ui 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/rswag/ui/install/install_generator.rb +1 -1
  3. data/lib/generators/rswag/ui/install/templates/rswag_ui.rb +16 -0
  4. data/lib/rswag/ui/configuration.rb +1 -1
  5. data/lib/rswag/ui/middleware.rb +1 -1
  6. data/node_modules/swagger-ui-dist/LICENSE +202 -0
  7. data/node_modules/swagger-ui-dist/NOTICE +2 -0
  8. data/node_modules/swagger-ui-dist/README.md +22 -0
  9. data/node_modules/swagger-ui-dist/absolute-path.js +14 -0
  10. data/node_modules/swagger-ui-dist/favicon-16x16.png +0 -0
  11. data/node_modules/swagger-ui-dist/favicon-32x32.png +0 -0
  12. data/node_modules/swagger-ui-dist/index.html +60 -0
  13. data/node_modules/swagger-ui-dist/index.js +17 -0
  14. data/node_modules/swagger-ui-dist/oauth2-redirect.html +75 -0
  15. data/node_modules/swagger-ui-dist/package.json +18 -0
  16. data/node_modules/swagger-ui-dist/swagger-ui-bundle.js +3 -0
  17. data/node_modules/swagger-ui-dist/swagger-ui-bundle.js.map +1 -0
  18. data/node_modules/swagger-ui-dist/swagger-ui-es-bundle-core.js +3 -0
  19. data/node_modules/swagger-ui-dist/swagger-ui-es-bundle-core.js.map +1 -0
  20. data/node_modules/swagger-ui-dist/swagger-ui-es-bundle.js +3 -0
  21. data/node_modules/swagger-ui-dist/swagger-ui-es-bundle.js.map +1 -0
  22. data/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js +3 -0
  23. data/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js.map +1 -0
  24. data/node_modules/swagger-ui-dist/swagger-ui.css +4 -0
  25. data/node_modules/swagger-ui-dist/swagger-ui.css.map +1 -0
  26. data/node_modules/swagger-ui-dist/swagger-ui.js +3 -0
  27. data/node_modules/swagger-ui-dist/swagger-ui.js.map +1 -0
  28. metadata +25 -3
  29. data/lib/generators/rswag/ui/install/templates/rswag-ui.rb +0 -14
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rswag-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richie Morris
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-02-08 00:00:00.000000000 Z
13
+ date: 2022-09-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionpack
@@ -67,7 +67,7 @@ files:
67
67
  - lib/generators/rswag/ui/custom/custom_generator.rb
68
68
  - lib/generators/rswag/ui/install/USAGE
69
69
  - lib/generators/rswag/ui/install/install_generator.rb
70
- - lib/generators/rswag/ui/install/templates/rswag-ui.rb
70
+ - lib/generators/rswag/ui/install/templates/rswag_ui.rb
71
71
  - lib/rswag/ui.rb
72
72
  - lib/rswag/ui/basic_auth.rb
73
73
  - lib/rswag/ui/configuration.rb
@@ -75,6 +75,28 @@ files:
75
75
  - lib/rswag/ui/index.erb
76
76
  - lib/rswag/ui/middleware.rb
77
77
  - lib/tasks/rswag-ui_tasks.rake
78
+ - node_modules/swagger-ui-dist/LICENSE
79
+ - node_modules/swagger-ui-dist/NOTICE
80
+ - node_modules/swagger-ui-dist/README.md
81
+ - node_modules/swagger-ui-dist/absolute-path.js
82
+ - node_modules/swagger-ui-dist/favicon-16x16.png
83
+ - node_modules/swagger-ui-dist/favicon-32x32.png
84
+ - node_modules/swagger-ui-dist/index.html
85
+ - node_modules/swagger-ui-dist/index.js
86
+ - node_modules/swagger-ui-dist/oauth2-redirect.html
87
+ - node_modules/swagger-ui-dist/package.json
88
+ - node_modules/swagger-ui-dist/swagger-ui-bundle.js
89
+ - node_modules/swagger-ui-dist/swagger-ui-bundle.js.map
90
+ - node_modules/swagger-ui-dist/swagger-ui-es-bundle-core.js
91
+ - node_modules/swagger-ui-dist/swagger-ui-es-bundle-core.js.map
92
+ - node_modules/swagger-ui-dist/swagger-ui-es-bundle.js
93
+ - node_modules/swagger-ui-dist/swagger-ui-es-bundle.js.map
94
+ - node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js
95
+ - node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js.map
96
+ - node_modules/swagger-ui-dist/swagger-ui.css
97
+ - node_modules/swagger-ui-dist/swagger-ui.css.map
98
+ - node_modules/swagger-ui-dist/swagger-ui.js
99
+ - node_modules/swagger-ui-dist/swagger-ui.js.map
78
100
  homepage: https://github.com/rswag/rswag
79
101
  licenses:
80
102
  - MIT
@@ -1,14 +0,0 @@
1
- Rswag::Ui.configure do |c|
2
-
3
- # List the Swagger endpoints that you want to be documented through the swagger-ui
4
- # The first parameter is the path (absolute or relative to the UI host) to the corresponding
5
- # endpoint and the second is a title that will be displayed in the document selector
6
- # NOTE: If you're using rspec-api to expose Swagger files (under swagger_root) as JSON or YAML endpoints,
7
- # then the list below should correspond to the relative paths for those endpoints
8
-
9
- c.swagger_endpoint '/api-docs/v1/swagger.yaml', 'API V1 Docs'
10
-
11
- # Add Basic Auth in case your API is private
12
- # c.basic_auth_enabled = true
13
- # c.basic_auth_credentials 'username', 'password'
14
- end