rswag-ui 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rswag/ui/version.rb +1 -1
  3. data/vendor/assets/components/swagger-ui/css/print.css +1367 -0
  4. data/vendor/assets/components/swagger-ui/css/reset.css +125 -0
  5. data/vendor/assets/components/swagger-ui/css/screen.css +1494 -0
  6. data/vendor/assets/components/swagger-ui/css/style.css +250 -0
  7. data/vendor/assets/components/swagger-ui/css/typography.css +14 -0
  8. data/vendor/assets/components/swagger-ui/fonts/DroidSans-Bold.ttf +0 -0
  9. data/vendor/assets/components/swagger-ui/fonts/DroidSans.ttf +0 -0
  10. data/vendor/assets/components/swagger-ui/images/collapse.gif +0 -0
  11. data/vendor/assets/components/swagger-ui/images/expand.gif +0 -0
  12. data/vendor/assets/components/swagger-ui/images/explorer_icons.png +0 -0
  13. data/vendor/assets/components/swagger-ui/images/favicon-16x16.png +0 -0
  14. data/vendor/assets/components/swagger-ui/images/favicon-32x32.png +0 -0
  15. data/vendor/assets/components/swagger-ui/images/favicon.ico +0 -0
  16. data/vendor/assets/components/swagger-ui/images/logo_small.png +0 -0
  17. data/vendor/assets/components/swagger-ui/images/pet_store_api.png +0 -0
  18. data/vendor/assets/components/swagger-ui/images/throbber.gif +0 -0
  19. data/vendor/assets/components/swagger-ui/images/wordnik_api.png +0 -0
  20. data/vendor/assets/components/swagger-ui/lang/ca.js +53 -0
  21. data/vendor/assets/components/swagger-ui/lang/en.js +56 -0
  22. data/vendor/assets/components/swagger-ui/lang/es.js +53 -0
  23. data/vendor/assets/components/swagger-ui/lang/fr.js +54 -0
  24. data/vendor/assets/components/swagger-ui/lang/geo.js +56 -0
  25. data/vendor/assets/components/swagger-ui/lang/it.js +52 -0
  26. data/vendor/assets/components/swagger-ui/lang/ja.js +53 -0
  27. data/vendor/assets/components/swagger-ui/lang/ko-kr.js +53 -0
  28. data/vendor/assets/components/swagger-ui/lang/pl.js +53 -0
  29. data/vendor/assets/components/swagger-ui/lang/pt.js +53 -0
  30. data/vendor/assets/components/swagger-ui/lang/ru.js +56 -0
  31. data/vendor/assets/components/swagger-ui/lang/tr.js +53 -0
  32. data/vendor/assets/components/swagger-ui/lang/translator.js +39 -0
  33. data/vendor/assets/components/swagger-ui/lang/zh-cn.js +53 -0
  34. data/vendor/assets/components/swagger-ui/lib/backbone-min.js +15 -0
  35. data/vendor/assets/components/swagger-ui/lib/es5-shim.js +2065 -0
  36. data/vendor/assets/components/swagger-ui/lib/handlebars-4.0.5.js +4608 -0
  37. data/vendor/assets/components/swagger-ui/lib/highlight.9.1.0.pack.js +2 -0
  38. data/vendor/assets/components/swagger-ui/lib/highlight.9.1.0.pack_extended.js +34 -0
  39. data/vendor/assets/components/swagger-ui/lib/jquery-1.8.0.min.js +2 -0
  40. data/vendor/assets/components/swagger-ui/lib/jquery.ba-bbq.min.js +18 -0
  41. data/vendor/assets/components/swagger-ui/lib/jquery.slideto.min.js +1 -0
  42. data/vendor/assets/components/swagger-ui/lib/jquery.wiggle.min.js +8 -0
  43. data/vendor/assets/components/swagger-ui/lib/js-yaml.min.js +3 -0
  44. data/vendor/assets/components/swagger-ui/lib/jsoneditor.min.js +11 -0
  45. data/vendor/assets/components/swagger-ui/lib/lodash.min.js +102 -0
  46. data/vendor/assets/components/swagger-ui/lib/marked.js +1272 -0
  47. data/vendor/assets/components/swagger-ui/lib/object-assign-pollyfill.js +23 -0
  48. data/vendor/assets/components/swagger-ui/lib/sanitize-html.min.js +6 -0
  49. data/vendor/assets/components/swagger-ui/lib/swagger-oauth.js +347 -0
  50. data/vendor/assets/components/swagger-ui/o2c.html +20 -0
  51. data/vendor/assets/components/swagger-ui/swagger-ui.js +24993 -0
  52. data/vendor/assets/components/swagger-ui/swagger-ui.min.js +14 -0
  53. metadata +51 -1
@@ -0,0 +1,250 @@
1
+ .swagger-section #header a#logo {
2
+ font-size: 1.5em;
3
+ font-weight: bold;
4
+ text-decoration: none;
5
+ background: transparent url(../images/logo.png) no-repeat left center;
6
+ padding: 20px 0 20px 40px;
7
+ }
8
+ #text-head {
9
+ font-size: 80px;
10
+ font-family: 'Roboto', sans-serif;
11
+ color: #ffffff;
12
+ float: right;
13
+ margin-right: 20%;
14
+ }
15
+ .navbar-fixed-top .navbar-nav {
16
+ height: auto;
17
+ }
18
+ .navbar-fixed-top .navbar-brand {
19
+ height: auto;
20
+ }
21
+ .navbar-header {
22
+ height: auto;
23
+ }
24
+ .navbar-inverse {
25
+ background-color: #000;
26
+ border-color: #000;
27
+ }
28
+ #navbar-brand {
29
+ margin-left: 20%;
30
+ }
31
+ .navtext {
32
+ font-size: 10px;
33
+ }
34
+ .h1,
35
+ h1 {
36
+ font-size: 60px;
37
+ }
38
+ .navbar-default .navbar-header .navbar-brand {
39
+ color: #a2dfee;
40
+ }
41
+ /* tag titles */
42
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
43
+ color: #393939;
44
+ font-family: 'Arvo', serif;
45
+ font-size: 1.5em;
46
+ }
47
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
48
+ color: black;
49
+ }
50
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
51
+ color: #525252;
52
+ padding-left: 0px;
53
+ display: block;
54
+ clear: none;
55
+ float: left;
56
+ font-family: 'Arvo', serif;
57
+ font-weight: bold;
58
+ }
59
+ .navbar-default .navbar-collapse,
60
+ .navbar-default .navbar-form {
61
+ border-color: #0A0A0A;
62
+ }
63
+ .container1 {
64
+ width: 1500px;
65
+ margin: auto;
66
+ margin-top: 0;
67
+ background-image: url('../images/shield.png');
68
+ background-repeat: no-repeat;
69
+ background-position: -40px -20px;
70
+ margin-bottom: 210px;
71
+ }
72
+ .container-inner {
73
+ width: 1200px;
74
+ margin: auto;
75
+ background-color: rgba(223, 227, 228, 0.75);
76
+ padding-bottom: 40px;
77
+ padding-top: 40px;
78
+ border-radius: 15px;
79
+ }
80
+ .header-content {
81
+ padding: 0;
82
+ width: 1000px;
83
+ }
84
+ .title1 {
85
+ font-size: 80px;
86
+ font-family: 'Vollkorn', serif;
87
+ color: #404040;
88
+ text-align: center;
89
+ padding-top: 40px;
90
+ padding-bottom: 100px;
91
+ }
92
+ #icon {
93
+ margin-top: -18px;
94
+ }
95
+ .subtext {
96
+ font-size: 25px;
97
+ font-style: italic;
98
+ color: #08b;
99
+ text-align: right;
100
+ padding-right: 250px;
101
+ }
102
+ .bg-primary {
103
+ background-color: #00468b;
104
+ }
105
+ .navbar-default .nav > li > a,
106
+ .navbar-default .nav > li > a:focus {
107
+ color: #08b;
108
+ }
109
+ .navbar-default .nav > li > a,
110
+ .navbar-default .nav > li > a:hover {
111
+ color: #08b;
112
+ }
113
+ .navbar-default .nav > li > a,
114
+ .navbar-default .nav > li > a:focus:hover {
115
+ color: #08b;
116
+ }
117
+ .text-faded {
118
+ font-size: 25px;
119
+ font-family: 'Vollkorn', serif;
120
+ }
121
+ .section-heading {
122
+ font-family: 'Vollkorn', serif;
123
+ font-size: 45px;
124
+ padding-bottom: 10px;
125
+ }
126
+ hr {
127
+ border-color: #00468b;
128
+ padding-bottom: 10px;
129
+ }
130
+ .description {
131
+ margin-top: 20px;
132
+ padding-bottom: 200px;
133
+ }
134
+ .description li {
135
+ font-family: 'Vollkorn', serif;
136
+ font-size: 25px;
137
+ color: #525252;
138
+ margin-left: 28%;
139
+ padding-top: 5px;
140
+ }
141
+ .gap {
142
+ margin-top: 200px;
143
+ }
144
+ .troubleshootingtext {
145
+ color: rgba(255, 255, 255, 0.7);
146
+ padding-left: 30%;
147
+ }
148
+ .troubleshootingtext li {
149
+ list-style-type: circle;
150
+ font-size: 25px;
151
+ padding-bottom: 5px;
152
+ }
153
+ .overlay {
154
+ position: absolute;
155
+ top: 0;
156
+ left: 0;
157
+ width: 100%;
158
+ height: 100%;
159
+ z-index: 1000;
160
+ }
161
+ .block.response_body.json:hover {
162
+ cursor: pointer;
163
+ }
164
+ .backdrop {
165
+ color: blue;
166
+ }
167
+ #myModal {
168
+ height: 100%;
169
+ }
170
+ .modal-backdrop {
171
+ bottom: 0;
172
+ position: fixed;
173
+ }
174
+ .curl {
175
+ padding: 10px;
176
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
177
+ font-size: 0.9em;
178
+ max-height: 400px;
179
+ margin-top: 5px;
180
+ overflow-y: auto;
181
+ background-color: #fcf6db;
182
+ border: 1px solid #e5e0c6;
183
+ border-radius: 4px;
184
+ }
185
+ .curl_title {
186
+ font-size: 1.1em;
187
+ margin: 0;
188
+ padding: 15px 0 5px;
189
+ font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
190
+ font-weight: 500;
191
+ line-height: 1.1;
192
+ }
193
+ .footer {
194
+ display: none;
195
+ }
196
+ .swagger-section .swagger-ui-wrap h2 {
197
+ padding: 0;
198
+ }
199
+ h2 {
200
+ margin: 0;
201
+ margin-bottom: 5px;
202
+ }
203
+ .markdown p {
204
+ font-size: 15px;
205
+ font-family: 'Arvo', serif;
206
+ }
207
+ .swagger-section .swagger-ui-wrap .code {
208
+ font-size: 15px;
209
+ font-family: 'Arvo', serif;
210
+ }
211
+ .swagger-section .swagger-ui-wrap b {
212
+ font-family: 'Arvo', serif;
213
+ }
214
+ #signin:hover {
215
+ cursor: pointer;
216
+ }
217
+ .dropdown-menu {
218
+ padding: 15px;
219
+ }
220
+ .navbar-right .dropdown-menu {
221
+ left: 0;
222
+ right: auto;
223
+ }
224
+ #signinbutton {
225
+ width: 100%;
226
+ height: 32px;
227
+ font-size: 13px;
228
+ font-weight: bold;
229
+ color: #08b;
230
+ }
231
+ .navbar-default .nav > li .details {
232
+ color: #000000;
233
+ text-transform: none;
234
+ font-size: 15px;
235
+ font-weight: normal;
236
+ font-family: 'Open Sans', sans-serif;
237
+ font-style: italic;
238
+ line-height: 20px;
239
+ top: -2px;
240
+ }
241
+ .navbar-default .nav > li .details:hover {
242
+ color: black;
243
+ }
244
+ #signout {
245
+ width: 100%;
246
+ height: 32px;
247
+ font-size: 13px;
248
+ font-weight: bold;
249
+ color: #08b;
250
+ }
@@ -0,0 +1,14 @@
1
+ /* Google Font's Droid Sans */
2
+ @font-face {
3
+ font-family: 'Droid Sans';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
7
+ }
8
+ /* Google Font's Droid Sans Bold */
9
+ @font-face {
10
+ font-family: 'Droid Sans';
11
+ font-style: normal;
12
+ font-weight: 700;
13
+ src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
14
+ }
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Advertència: Obsolet",
6
+ "Implementation Notes":"Notes d'implementació",
7
+ "Response Class":"Classe de la Resposta",
8
+ "Status":"Estatus",
9
+ "Parameters":"Paràmetres",
10
+ "Parameter":"Paràmetre",
11
+ "Value":"Valor",
12
+ "Description":"Descripció",
13
+ "Parameter Type":"Tipus del Paràmetre",
14
+ "Data Type":"Tipus de la Dada",
15
+ "Response Messages":"Missatges de la Resposta",
16
+ "HTTP Status Code":"Codi d'Estatus HTTP",
17
+ "Reason":"Raó",
18
+ "Response Model":"Model de la Resposta",
19
+ "Request URL":"URL de la Sol·licitud",
20
+ "Response Body":"Cos de la Resposta",
21
+ "Response Code":"Codi de la Resposta",
22
+ "Response Headers":"Capçaleres de la Resposta",
23
+ "Hide Response":"Amagar Resposta",
24
+ "Try it out!":"Prova-ho!",
25
+ "Show/Hide":"Mostrar/Amagar",
26
+ "List Operations":"Llista Operacions",
27
+ "Expand Operations":"Expandir Operacions",
28
+ "Raw":"Cru",
29
+ "can't parse JSON. Raw result":"no puc analitzar el JSON. Resultat cru",
30
+ "Example Value":"Valor d'Exemple",
31
+ "Model Schema":"Esquema del Model",
32
+ "Model":"Model",
33
+ "apply":"aplicar",
34
+ "Username":"Nom d'usuari",
35
+ "Password":"Contrasenya",
36
+ "Terms of service":"Termes del servei",
37
+ "Created by":"Creat per",
38
+ "See more at":"Veure més en",
39
+ "Contact the developer":"Contactar amb el desenvolupador",
40
+ "api version":"versió de la api",
41
+ "Response Content Type":"Tipus de Contingut de la Resposta",
42
+ "fetching resource":"recollint recurs",
43
+ "fetching resource list":"recollins llista de recursos",
44
+ "Explore":"Explorant",
45
+ "Show Swagger Petstore Example Apis":"Mostrar API d'Exemple Swagger Petstore",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"No es pot llegir del servidor. Potser no teniu la configuració de control d'accés apropiada.",
47
+ "Please specify the protocol for":"Si us plau, especifiqueu el protocol per a",
48
+ "Can't read swagger JSON from":"No es pot llegir el JSON de swagger des de",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finalitzada la càrrega del recurs informatiu. Renderitzant Swagger UI",
50
+ "Unable to read api":"No es pot llegir l'api",
51
+ "from path":"des de la ruta",
52
+ "server returned":"el servidor ha retornat"
53
+ });
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Warning: Deprecated",
6
+ "Implementation Notes":"Implementation Notes",
7
+ "Response Class":"Response Class",
8
+ "Status":"Status",
9
+ "Parameters":"Parameters",
10
+ "Parameter":"Parameter",
11
+ "Value":"Value",
12
+ "Description":"Description",
13
+ "Parameter Type":"Parameter Type",
14
+ "Data Type":"Data Type",
15
+ "Response Messages":"Response Messages",
16
+ "HTTP Status Code":"HTTP Status Code",
17
+ "Reason":"Reason",
18
+ "Response Model":"Response Model",
19
+ "Request URL":"Request URL",
20
+ "Response Body":"Response Body",
21
+ "Response Code":"Response Code",
22
+ "Response Headers":"Response Headers",
23
+ "Hide Response":"Hide Response",
24
+ "Headers":"Headers",
25
+ "Try it out!":"Try it out!",
26
+ "Show/Hide":"Show/Hide",
27
+ "List Operations":"List Operations",
28
+ "Expand Operations":"Expand Operations",
29
+ "Raw":"Raw",
30
+ "can't parse JSON. Raw result":"can't parse JSON. Raw result",
31
+ "Example Value":"Example Value",
32
+ "Model Schema":"Model Schema",
33
+ "Model":"Model",
34
+ "Click to set as parameter value":"Click to set as parameter value",
35
+ "apply":"apply",
36
+ "Username":"Username",
37
+ "Password":"Password",
38
+ "Terms of service":"Terms of service",
39
+ "Created by":"Created by",
40
+ "See more at":"See more at",
41
+ "Contact the developer":"Contact the developer",
42
+ "api version":"api version",
43
+ "Response Content Type":"Response Content Type",
44
+ "Parameter content type:":"Parameter content type:",
45
+ "fetching resource":"fetching resource",
46
+ "fetching resource list":"fetching resource list",
47
+ "Explore":"Explore",
48
+ "Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
49
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"Can't read from server. It may not have the appropriate access-control-origin settings.",
50
+ "Please specify the protocol for":"Please specify the protocol for",
51
+ "Can't read swagger JSON from":"Can't read swagger JSON from",
52
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finished Loading Resource Information. Rendering Swagger UI",
53
+ "Unable to read api":"Unable to read api",
54
+ "from path":"from path",
55
+ "server returned":"server returned"
56
+ });
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ /* jshint quotmark: double */
4
+ window.SwaggerTranslator.learn({
5
+ "Warning: Deprecated":"Advertencia: Obsoleto",
6
+ "Implementation Notes":"Notas de implementación",
7
+ "Response Class":"Clase de la Respuesta",
8
+ "Status":"Status",
9
+ "Parameters":"Parámetros",
10
+ "Parameter":"Parámetro",
11
+ "Value":"Valor",
12
+ "Description":"Descripción",
13
+ "Parameter Type":"Tipo del Parámetro",
14
+ "Data Type":"Tipo del Dato",
15
+ "Response Messages":"Mensajes de la Respuesta",
16
+ "HTTP Status Code":"Código de Status HTTP",
17
+ "Reason":"Razón",
18
+ "Response Model":"Modelo de la Respuesta",
19
+ "Request URL":"URL de la Solicitud",
20
+ "Response Body":"Cuerpo de la Respuesta",
21
+ "Response Code":"Código de la Respuesta",
22
+ "Response Headers":"Encabezados de la Respuesta",
23
+ "Hide Response":"Ocultar Respuesta",
24
+ "Try it out!":"Pruébalo!",
25
+ "Show/Hide":"Mostrar/Ocultar",
26
+ "List Operations":"Listar Operaciones",
27
+ "Expand Operations":"Expandir Operaciones",
28
+ "Raw":"Crudo",
29
+ "can't parse JSON. Raw result":"no puede parsear el JSON. Resultado crudo",
30
+ "Example Value":"Valor de Ejemplo",
31
+ "Model Schema":"Esquema del Modelo",
32
+ "Model":"Modelo",
33
+ "apply":"aplicar",
34
+ "Username":"Nombre de usuario",
35
+ "Password":"Contraseña",
36
+ "Terms of service":"Términos de Servicio",
37
+ "Created by":"Creado por",
38
+ "See more at":"Ver más en",
39
+ "Contact the developer":"Contactar al desarrollador",
40
+ "api version":"versión de la api",
41
+ "Response Content Type":"Tipo de Contenido (Content Type) de la Respuesta",
42
+ "fetching resource":"buscando recurso",
43
+ "fetching resource list":"buscando lista del recurso",
44
+ "Explore":"Explorar",
45
+ "Show Swagger Petstore Example Apis":"Mostrar Api Ejemplo de Swagger Petstore",
46
+ "Can't read from server. It may not have the appropriate access-control-origin settings.":"No se puede leer del servidor. Tal vez no tiene la configuración de control de acceso de origen (access-control-origin) apropiado.",
47
+ "Please specify the protocol for":"Por favor, especificar el protocola para",
48
+ "Can't read swagger JSON from":"No se puede leer el JSON de swagger desde",
49
+ "Finished Loading Resource Information. Rendering Swagger UI":"Finalizada la carga del recurso de Información. Mostrando Swagger UI",
50
+ "Unable to read api":"No se puede leer la api",
51
+ "from path":"desde ruta",
52
+ "server returned":"el servidor retornó"
53
+ });