swagger_ui_engine_rails7 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +65 -0
  3. data/MIT-LICENSE +20 -0
  4. data/Rakefile +28 -0
  5. data/app/assets/fonts/swagger_ui_engine/DroidSans-Bold.ttf +0 -0
  6. data/app/assets/fonts/swagger_ui_engine/DroidSans.ttf +0 -0
  7. data/app/assets/images/swagger_ui_engine/collapse.gif +0 -0
  8. data/app/assets/images/swagger_ui_engine/expand.gif +0 -0
  9. data/app/assets/images/swagger_ui_engine/explorer_icons.png +0 -0
  10. data/app/assets/images/swagger_ui_engine/favicon-16x16.png +0 -0
  11. data/app/assets/images/swagger_ui_engine/favicon-32x32.png +0 -0
  12. data/app/assets/images/swagger_ui_engine/favicon.ico +0 -0
  13. data/app/assets/images/swagger_ui_engine/logo_small.png +0 -0
  14. data/app/assets/images/swagger_ui_engine/pet_store_api.png +0 -0
  15. data/app/assets/images/swagger_ui_engine/throbber.gif +0 -0
  16. data/app/assets/images/swagger_ui_engine/wordnik_api.png +0 -0
  17. data/app/assets/javascripts/swagger_ui_engine/application.js +14 -0
  18. data/app/assets/javascripts/swagger_ui_engine/lang/ca.js +55 -0
  19. data/app/assets/javascripts/swagger_ui_engine/lang/de.js +58 -0
  20. data/app/assets/javascripts/swagger_ui_engine/lang/el.js +58 -0
  21. data/app/assets/javascripts/swagger_ui_engine/lang/en.js +58 -0
  22. data/app/assets/javascripts/swagger_ui_engine/lang/es.js +55 -0
  23. data/app/assets/javascripts/swagger_ui_engine/lang/fr.js +56 -0
  24. data/app/assets/javascripts/swagger_ui_engine/lang/geo.js +58 -0
  25. data/app/assets/javascripts/swagger_ui_engine/lang/it.js +54 -0
  26. data/app/assets/javascripts/swagger_ui_engine/lang/ja.js +58 -0
  27. data/app/assets/javascripts/swagger_ui_engine/lang/ko-kr.js +55 -0
  28. data/app/assets/javascripts/swagger_ui_engine/lang/pl.js +55 -0
  29. data/app/assets/javascripts/swagger_ui_engine/lang/pt.js +55 -0
  30. data/app/assets/javascripts/swagger_ui_engine/lang/ru.js +58 -0
  31. data/app/assets/javascripts/swagger_ui_engine/lang/tr.js +55 -0
  32. data/app/assets/javascripts/swagger_ui_engine/lang/translator.js +39 -0
  33. data/app/assets/javascripts/swagger_ui_engine/lang/zh-cn.js +58 -0
  34. data/app/assets/javascripts/swagger_ui_engine/lib/backbone-min.js +1 -0
  35. data/app/assets/javascripts/swagger_ui_engine/lib/es5-shim.js +1 -0
  36. data/app/assets/javascripts/swagger_ui_engine/lib/handlebars-4.0.5.js +3 -0
  37. data/app/assets/javascripts/swagger_ui_engine/lib/highlight.9.1.0.pack.js +1 -0
  38. data/app/assets/javascripts/swagger_ui_engine/lib/highlight.9.1.0.pack_extended.js +1 -0
  39. data/app/assets/javascripts/swagger_ui_engine/lib/jquery-1.8.0.min.js +3 -0
  40. data/app/assets/javascripts/swagger_ui_engine/lib/jquery.ba-bbq.min.js +1 -0
  41. data/app/assets/javascripts/swagger_ui_engine/lib/jquery.slideto.min.js +1 -0
  42. data/app/assets/javascripts/swagger_ui_engine/lib/jquery.wiggle.min.js +1 -0
  43. data/app/assets/javascripts/swagger_ui_engine/lib/js-yaml.min.js +2 -0
  44. data/app/assets/javascripts/swagger_ui_engine/lib/jsoneditor.min.js +5 -0
  45. data/app/assets/javascripts/swagger_ui_engine/lib/lodash.min.js +2 -0
  46. data/app/assets/javascripts/swagger_ui_engine/lib/marked.js +1 -0
  47. data/app/assets/javascripts/swagger_ui_engine/lib/object-assign-pollyfill.js +1 -0
  48. data/app/assets/javascripts/swagger_ui_engine/lib/sanitize-html.min.js +4 -0
  49. data/app/assets/javascripts/swagger_ui_engine/lib/swagger-oauth.js +1 -0
  50. data/app/assets/javascripts/swagger_ui_engine/swagger-ui.js +25344 -0
  51. data/app/assets/javascripts/swagger_ui_engine/swagger-ui.min.js +15 -0
  52. data/app/assets/javascripts/swagger_ui_engine/swagger.json +18 -0
  53. data/app/assets/stylesheets/swagger_ui_engine/application.css +6 -0
  54. data/app/assets/stylesheets/swagger_ui_engine/custom.css +7 -0
  55. data/app/assets/stylesheets/swagger_ui_engine/lib/print.css.erb +1377 -0
  56. data/app/assets/stylesheets/swagger_ui_engine/lib/reset.css +1 -0
  57. data/app/assets/stylesheets/swagger_ui_engine/lib/screen.css.erb +1504 -0
  58. data/app/assets/stylesheets/swagger_ui_engine/lib/style.css +1 -0
  59. data/app/assets/stylesheets/swagger_ui_engine/lib/typography.css.erb +14 -0
  60. data/app/assets/stylesheets/swagger_ui_engine/print.css +4 -0
  61. data/app/controllers/swagger_ui_engine/application_controller.rb +20 -0
  62. data/app/controllers/swagger_ui_engine/swagger_docs_controller.rb +51 -0
  63. data/app/helpers/swagger_ui_engine/auth_config_parser.rb +19 -0
  64. data/app/helpers/swagger_ui_engine/config_parser.rb +26 -0
  65. data/app/helpers/swagger_ui_engine/oauth_config_parser.rb +12 -0
  66. data/app/helpers/swagger_ui_engine/translation_helper.rb +16 -0
  67. data/app/views/swagger_ui_engine/layouts/swagger.html.erb +37 -0
  68. data/app/views/swagger_ui_engine/swagger_docs/index.html.erb +8 -0
  69. data/app/views/swagger_ui_engine/swagger_docs/oauth2.html.erb +20 -0
  70. data/app/views/swagger_ui_engine/swagger_docs/show.html.erb +66 -0
  71. data/config/routes.rb +12 -0
  72. data/lib/swagger_ui_engine_rails7/configuration.rb +24 -0
  73. data/lib/swagger_ui_engine_rails7/defaults.rb +19 -0
  74. data/lib/swagger_ui_engine_rails7/engine.rb +28 -0
  75. data/lib/swagger_ui_engine_rails7/version.rb +4 -0
  76. data/lib/swagger_ui_engine_rails7.rb +20 -0
  77. metadata +148 -0
@@ -0,0 +1,18 @@
1
+ {
2
+ "swagger": "2.0",
3
+ "info": {
4
+ "version": "0.0.0",
5
+ "title": "Override me in app/assets/javascripts/swagger_ui_engine/swagger.json"
6
+ },
7
+ "paths": {
8
+ "/": {
9
+ "get": {
10
+ "responses": {
11
+ "200": {
12
+ "description": "OK"
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,6 @@
1
+ /*
2
+ *= require ./lib/typography.css
3
+ *= require ./lib/reset.css
4
+ *= require ./lib/screen.css
5
+ *= require ./custom.css
6
+ */
@@ -0,0 +1,7 @@
1
+ #swagger-ui-container {
2
+ margin-bottom: 30px;
3
+ }
4
+
5
+ .swagger-return-link {
6
+ padding-bottom: 30px;
7
+ }