rswag-ui 1.6.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/rswag/ui/custom/custom_generator.rb +2 -2
  3. data/lib/generators/rswag/ui/install/templates/rswag-ui.rb +1 -0
  4. data/lib/rswag/ui/configuration.rb +22 -4
  5. data/lib/rswag/ui/engine.rb +7 -10
  6. data/lib/rswag/ui/index.erb +103 -0
  7. data/lib/rswag/ui/middleware.rb +44 -0
  8. data/lib/tasks/rswag-ui_tasks.rake +12 -0
  9. metadata +6 -56
  10. data/app/controllers/rswag/ui/home_controller.rb +0 -11
  11. data/app/views/rswag/ui/home/index.html.erb +0 -126
  12. data/config/routes.rb +0 -3
  13. data/vendor/assets/components/swagger-ui/css/print.css.erb +0 -1367
  14. data/vendor/assets/components/swagger-ui/css/reset.css +0 -125
  15. data/vendor/assets/components/swagger-ui/css/screen.css.erb +0 -1494
  16. data/vendor/assets/components/swagger-ui/css/style.css.erb +0 -250
  17. data/vendor/assets/components/swagger-ui/css/typography.css.erb +0 -14
  18. data/vendor/assets/components/swagger-ui/fonts/DroidSans-Bold.ttf +0 -0
  19. data/vendor/assets/components/swagger-ui/fonts/DroidSans.ttf +0 -0
  20. data/vendor/assets/components/swagger-ui/images/collapse.gif +0 -0
  21. data/vendor/assets/components/swagger-ui/images/expand.gif +0 -0
  22. data/vendor/assets/components/swagger-ui/images/explorer_icons.png +0 -0
  23. data/vendor/assets/components/swagger-ui/images/favicon-16x16.png +0 -0
  24. data/vendor/assets/components/swagger-ui/images/favicon-32x32.png +0 -0
  25. data/vendor/assets/components/swagger-ui/images/favicon.ico +0 -0
  26. data/vendor/assets/components/swagger-ui/images/logo_small.png +0 -0
  27. data/vendor/assets/components/swagger-ui/images/pet_store_api.png +0 -0
  28. data/vendor/assets/components/swagger-ui/images/throbber.gif +0 -0
  29. data/vendor/assets/components/swagger-ui/images/wordnik_api.png +0 -0
  30. data/vendor/assets/components/swagger-ui/lang/ca.js +0 -53
  31. data/vendor/assets/components/swagger-ui/lang/en.js +0 -56
  32. data/vendor/assets/components/swagger-ui/lang/es.js +0 -53
  33. data/vendor/assets/components/swagger-ui/lang/fr.js +0 -54
  34. data/vendor/assets/components/swagger-ui/lang/geo.js +0 -56
  35. data/vendor/assets/components/swagger-ui/lang/it.js +0 -52
  36. data/vendor/assets/components/swagger-ui/lang/ja.js +0 -53
  37. data/vendor/assets/components/swagger-ui/lang/ko-kr.js +0 -53
  38. data/vendor/assets/components/swagger-ui/lang/pl.js +0 -53
  39. data/vendor/assets/components/swagger-ui/lang/pt.js +0 -53
  40. data/vendor/assets/components/swagger-ui/lang/ru.js +0 -56
  41. data/vendor/assets/components/swagger-ui/lang/tr.js +0 -53
  42. data/vendor/assets/components/swagger-ui/lang/translator.js +0 -39
  43. data/vendor/assets/components/swagger-ui/lang/zh-cn.js +0 -53
  44. data/vendor/assets/components/swagger-ui/lib/backbone-min.js +0 -15
  45. data/vendor/assets/components/swagger-ui/lib/es5-shim.js +0 -2065
  46. data/vendor/assets/components/swagger-ui/lib/handlebars-4.0.5.js +0 -4608
  47. data/vendor/assets/components/swagger-ui/lib/highlight.9.1.0.pack.js +0 -2
  48. data/vendor/assets/components/swagger-ui/lib/highlight.9.1.0.pack_extended.js +0 -34
  49. data/vendor/assets/components/swagger-ui/lib/jquery-1.8.0.min.js +0 -2
  50. data/vendor/assets/components/swagger-ui/lib/jquery.ba-bbq.min.js +0 -18
  51. data/vendor/assets/components/swagger-ui/lib/jquery.slideto.min.js +0 -1
  52. data/vendor/assets/components/swagger-ui/lib/jquery.wiggle.min.js +0 -8
  53. data/vendor/assets/components/swagger-ui/lib/js-yaml.min.js +0 -3
  54. data/vendor/assets/components/swagger-ui/lib/jsoneditor.min.js +0 -11
  55. data/vendor/assets/components/swagger-ui/lib/lodash.min.js +0 -102
  56. data/vendor/assets/components/swagger-ui/lib/marked.js +0 -1272
  57. data/vendor/assets/components/swagger-ui/lib/object-assign-pollyfill.js +0 -23
  58. data/vendor/assets/components/swagger-ui/lib/sanitize-html.min.js +0 -6
  59. data/vendor/assets/components/swagger-ui/lib/swagger-oauth.js +0 -347
  60. data/vendor/assets/components/swagger-ui/o2c.html +0 -20
  61. data/vendor/assets/components/swagger-ui/swagger-ui.js +0 -24993
  62. data/vendor/assets/components/swagger-ui/swagger-ui.min.js +0 -14
data/config/routes.rb DELETED
@@ -1,3 +0,0 @@
1
- Rswag::Ui::Engine.routes.draw do
2
- root to: 'home#index'
3
- end
@@ -1,1367 +0,0 @@
1
- /* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
2
- .swagger-section pre code {
3
- display: block;
4
- padding: 0.5em;
5
- background: #F0F0F0;
6
- }
7
- .swagger-section pre code,
8
- .swagger-section pre .subst,
9
- .swagger-section pre .tag .title,
10
- .swagger-section pre .lisp .title,
11
- .swagger-section pre .clojure .built_in,
12
- .swagger-section pre .nginx .title {
13
- color: black;
14
- }
15
- .swagger-section pre .string,
16
- .swagger-section pre .title,
17
- .swagger-section pre .constant,
18
- .swagger-section pre .parent,
19
- .swagger-section pre .tag .value,
20
- .swagger-section pre .rules .value,
21
- .swagger-section pre .rules .value .number,
22
- .swagger-section pre .preprocessor,
23
- .swagger-section pre .ruby .symbol,
24
- .swagger-section pre .ruby .symbol .string,
25
- .swagger-section pre .aggregate,
26
- .swagger-section pre .template_tag,
27
- .swagger-section pre .django .variable,
28
- .swagger-section pre .smalltalk .class,
29
- .swagger-section pre .addition,
30
- .swagger-section pre .flow,
31
- .swagger-section pre .stream,
32
- .swagger-section pre .bash .variable,
33
- .swagger-section pre .apache .tag,
34
- .swagger-section pre .apache .cbracket,
35
- .swagger-section pre .tex .command,
36
- .swagger-section pre .tex .special,
37
- .swagger-section pre .erlang_repl .function_or_atom,
38
- .swagger-section pre .markdown .header {
39
- color: #800;
40
- }
41
- .swagger-section pre .comment,
42
- .swagger-section pre .annotation,
43
- .swagger-section pre .template_comment,
44
- .swagger-section pre .diff .header,
45
- .swagger-section pre .chunk,
46
- .swagger-section pre .markdown .blockquote {
47
- color: #888;
48
- }
49
- .swagger-section pre .number,
50
- .swagger-section pre .date,
51
- .swagger-section pre .regexp,
52
- .swagger-section pre .literal,
53
- .swagger-section pre .smalltalk .symbol,
54
- .swagger-section pre .smalltalk .char,
55
- .swagger-section pre .go .constant,
56
- .swagger-section pre .change,
57
- .swagger-section pre .markdown .bullet,
58
- .swagger-section pre .markdown .link_url {
59
- color: #080;
60
- }
61
- .swagger-section pre .label,
62
- .swagger-section pre .javadoc,
63
- .swagger-section pre .ruby .string,
64
- .swagger-section pre .decorator,
65
- .swagger-section pre .filter .argument,
66
- .swagger-section pre .localvars,
67
- .swagger-section pre .array,
68
- .swagger-section pre .attr_selector,
69
- .swagger-section pre .important,
70
- .swagger-section pre .pseudo,
71
- .swagger-section pre .pi,
72
- .swagger-section pre .doctype,
73
- .swagger-section pre .deletion,
74
- .swagger-section pre .envvar,
75
- .swagger-section pre .shebang,
76
- .swagger-section pre .apache .sqbracket,
77
- .swagger-section pre .nginx .built_in,
78
- .swagger-section pre .tex .formula,
79
- .swagger-section pre .erlang_repl .reserved,
80
- .swagger-section pre .prompt,
81
- .swagger-section pre .markdown .link_label,
82
- .swagger-section pre .vhdl .attribute,
83
- .swagger-section pre .clojure .attribute,
84
- .swagger-section pre .coffeescript .property {
85
- color: #88F;
86
- }
87
- .swagger-section pre .keyword,
88
- .swagger-section pre .id,
89
- .swagger-section pre .phpdoc,
90
- .swagger-section pre .title,
91
- .swagger-section pre .built_in,
92
- .swagger-section pre .aggregate,
93
- .swagger-section pre .css .tag,
94
- .swagger-section pre .javadoctag,
95
- .swagger-section pre .phpdoc,
96
- .swagger-section pre .yardoctag,
97
- .swagger-section pre .smalltalk .class,
98
- .swagger-section pre .winutils,
99
- .swagger-section pre .bash .variable,
100
- .swagger-section pre .apache .tag,
101
- .swagger-section pre .go .typename,
102
- .swagger-section pre .tex .command,
103
- .swagger-section pre .markdown .strong,
104
- .swagger-section pre .request,
105
- .swagger-section pre .status {
106
- font-weight: bold;
107
- }
108
- .swagger-section pre .markdown .emphasis {
109
- font-style: italic;
110
- }
111
- .swagger-section pre .nginx .built_in {
112
- font-weight: normal;
113
- }
114
- .swagger-section pre .coffeescript .javascript,
115
- .swagger-section pre .javascript .xml,
116
- .swagger-section pre .tex .formula,
117
- .swagger-section pre .xml .javascript,
118
- .swagger-section pre .xml .vbscript,
119
- .swagger-section pre .xml .css,
120
- .swagger-section pre .xml .cdata {
121
- opacity: 0.5;
122
- }
123
- .swagger-section .hljs {
124
- display: block;
125
- overflow-x: auto;
126
- padding: 0.5em;
127
- background: #F0F0F0;
128
- }
129
- .swagger-section .hljs,
130
- .swagger-section .hljs-subst {
131
- color: #444;
132
- }
133
- .swagger-section .hljs-keyword,
134
- .swagger-section .hljs-attribute,
135
- .swagger-section .hljs-selector-tag,
136
- .swagger-section .hljs-meta-keyword,
137
- .swagger-section .hljs-doctag,
138
- .swagger-section .hljs-name {
139
- font-weight: bold;
140
- }
141
- .swagger-section .hljs-built_in,
142
- .swagger-section .hljs-literal,
143
- .swagger-section .hljs-bullet,
144
- .swagger-section .hljs-code,
145
- .swagger-section .hljs-addition {
146
- color: #1F811F;
147
- }
148
- .swagger-section .hljs-regexp,
149
- .swagger-section .hljs-symbol,
150
- .swagger-section .hljs-variable,
151
- .swagger-section .hljs-template-variable,
152
- .swagger-section .hljs-link,
153
- .swagger-section .hljs-selector-attr,
154
- .swagger-section .hljs-selector-pseudo {
155
- color: #BC6060;
156
- }
157
- .swagger-section .hljs-type,
158
- .swagger-section .hljs-string,
159
- .swagger-section .hljs-number,
160
- .swagger-section .hljs-selector-id,
161
- .swagger-section .hljs-selector-class,
162
- .swagger-section .hljs-quote,
163
- .swagger-section .hljs-template-tag,
164
- .swagger-section .hljs-deletion {
165
- color: #880000;
166
- }
167
- .swagger-section .hljs-title,
168
- .swagger-section .hljs-section {
169
- color: #880000;
170
- font-weight: bold;
171
- }
172
- .swagger-section .hljs-comment {
173
- color: #888888;
174
- }
175
- .swagger-section .hljs-meta {
176
- color: #2B6EA1;
177
- }
178
- .swagger-section .hljs-emphasis {
179
- font-style: italic;
180
- }
181
- .swagger-section .hljs-strong {
182
- font-weight: bold;
183
- }
184
- .swagger-section .swagger-ui-wrap {
185
- line-height: 1;
186
- font-family: "Droid Sans", sans-serif;
187
- min-width: 760px;
188
- max-width: 960px;
189
- margin-left: auto;
190
- margin-right: auto;
191
- /* JSONEditor specific styling */
192
- }
193
- .swagger-section .swagger-ui-wrap b,
194
- .swagger-section .swagger-ui-wrap strong {
195
- font-family: "Droid Sans", sans-serif;
196
- font-weight: bold;
197
- }
198
- .swagger-section .swagger-ui-wrap q,
199
- .swagger-section .swagger-ui-wrap blockquote {
200
- quotes: none;
201
- }
202
- .swagger-section .swagger-ui-wrap p {
203
- line-height: 1.4em;
204
- padding: 0 0 10px;
205
- color: #333333;
206
- }
207
- .swagger-section .swagger-ui-wrap q:before,
208
- .swagger-section .swagger-ui-wrap q:after,
209
- .swagger-section .swagger-ui-wrap blockquote:before,
210
- .swagger-section .swagger-ui-wrap blockquote:after {
211
- content: none;
212
- }
213
- .swagger-section .swagger-ui-wrap .heading_with_menu h1,
214
- .swagger-section .swagger-ui-wrap .heading_with_menu h2,
215
- .swagger-section .swagger-ui-wrap .heading_with_menu h3,
216
- .swagger-section .swagger-ui-wrap .heading_with_menu h4,
217
- .swagger-section .swagger-ui-wrap .heading_with_menu h5,
218
- .swagger-section .swagger-ui-wrap .heading_with_menu h6 {
219
- display: block;
220
- clear: none;
221
- float: left;
222
- -moz-box-sizing: border-box;
223
- -webkit-box-sizing: border-box;
224
- -ms-box-sizing: border-box;
225
- box-sizing: border-box;
226
- width: 60%;
227
- }
228
- .swagger-section .swagger-ui-wrap table {
229
- border-collapse: collapse;
230
- border-spacing: 0;
231
- }
232
- .swagger-section .swagger-ui-wrap table thead tr th {
233
- padding: 5px;
234
- font-size: 0.9em;
235
- color: #666666;
236
- border-bottom: 1px solid #999999;
237
- }
238
- .swagger-section .swagger-ui-wrap table tbody tr:last-child td {
239
- border-bottom: none;
240
- }
241
- .swagger-section .swagger-ui-wrap table tbody tr.offset {
242
- background-color: #f0f0f0;
243
- }
244
- .swagger-section .swagger-ui-wrap table tbody tr td {
245
- padding: 6px;
246
- font-size: 0.9em;
247
- border-bottom: 1px solid #cccccc;
248
- vertical-align: top;
249
- line-height: 1.3em;
250
- }
251
- .swagger-section .swagger-ui-wrap ol {
252
- margin: 0px 0 10px;
253
- padding: 0 0 0 18px;
254
- list-style-type: decimal;
255
- }
256
- .swagger-section .swagger-ui-wrap ol li {
257
- padding: 5px 0px;
258
- font-size: 0.9em;
259
- color: #333333;
260
- }
261
- .swagger-section .swagger-ui-wrap ol,
262
- .swagger-section .swagger-ui-wrap ul {
263
- list-style: none;
264
- }
265
- .swagger-section .swagger-ui-wrap h1 a,
266
- .swagger-section .swagger-ui-wrap h2 a,
267
- .swagger-section .swagger-ui-wrap h3 a,
268
- .swagger-section .swagger-ui-wrap h4 a,
269
- .swagger-section .swagger-ui-wrap h5 a,
270
- .swagger-section .swagger-ui-wrap h6 a {
271
- text-decoration: none;
272
- }
273
- .swagger-section .swagger-ui-wrap h1 a:hover,
274
- .swagger-section .swagger-ui-wrap h2 a:hover,
275
- .swagger-section .swagger-ui-wrap h3 a:hover,
276
- .swagger-section .swagger-ui-wrap h4 a:hover,
277
- .swagger-section .swagger-ui-wrap h5 a:hover,
278
- .swagger-section .swagger-ui-wrap h6 a:hover {
279
- text-decoration: underline;
280
- }
281
- .swagger-section .swagger-ui-wrap h1 span.divider,
282
- .swagger-section .swagger-ui-wrap h2 span.divider,
283
- .swagger-section .swagger-ui-wrap h3 span.divider,
284
- .swagger-section .swagger-ui-wrap h4 span.divider,
285
- .swagger-section .swagger-ui-wrap h5 span.divider,
286
- .swagger-section .swagger-ui-wrap h6 span.divider {
287
- color: #aaaaaa;
288
- }
289
- .swagger-section .swagger-ui-wrap a {
290
- color: #547f00;
291
- }
292
- .swagger-section .swagger-ui-wrap a img {
293
- border: none;
294
- }
295
- .swagger-section .swagger-ui-wrap article,
296
- .swagger-section .swagger-ui-wrap aside,
297
- .swagger-section .swagger-ui-wrap details,
298
- .swagger-section .swagger-ui-wrap figcaption,
299
- .swagger-section .swagger-ui-wrap figure,
300
- .swagger-section .swagger-ui-wrap footer,
301
- .swagger-section .swagger-ui-wrap header,
302
- .swagger-section .swagger-ui-wrap hgroup,
303
- .swagger-section .swagger-ui-wrap menu,
304
- .swagger-section .swagger-ui-wrap nav,
305
- .swagger-section .swagger-ui-wrap section,
306
- .swagger-section .swagger-ui-wrap summary {
307
- display: block;
308
- }
309
- .swagger-section .swagger-ui-wrap pre {
310
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
311
- background-color: #fcf6db;
312
- border: 1px solid #e5e0c6;
313
- padding: 10px;
314
- }
315
- .swagger-section .swagger-ui-wrap pre code {
316
- line-height: 1.6em;
317
- background: none;
318
- }
319
- .swagger-section .swagger-ui-wrap .content > .content-type > div > label {
320
- clear: both;
321
- display: block;
322
- color: #0F6AB4;
323
- font-size: 1.1em;
324
- margin: 0;
325
- padding: 15px 0 5px;
326
- }
327
- .swagger-section .swagger-ui-wrap .content pre {
328
- font-size: 12px;
329
- margin-top: 5px;
330
- padding: 5px;
331
- }
332
- .swagger-section .swagger-ui-wrap .icon-btn {
333
- cursor: pointer;
334
- }
335
- .swagger-section .swagger-ui-wrap .info_title {
336
- padding-bottom: 10px;
337
- font-weight: bold;
338
- font-size: 25px;
339
- }
340
- .swagger-section .swagger-ui-wrap .footer {
341
- margin-top: 20px;
342
- }
343
- .swagger-section .swagger-ui-wrap p.big,
344
- .swagger-section .swagger-ui-wrap div.big p {
345
- font-size: 1em;
346
- margin-bottom: 10px;
347
- }
348
- .swagger-section .swagger-ui-wrap form.fullwidth ol li.string input,
349
- .swagger-section .swagger-ui-wrap form.fullwidth ol li.url input,
350
- .swagger-section .swagger-ui-wrap form.fullwidth ol li.text textarea,
351
- .swagger-section .swagger-ui-wrap form.fullwidth ol li.numeric input {
352
- width: 500px !important;
353
- }
354
- .swagger-section .swagger-ui-wrap .info_license {
355
- padding-bottom: 5px;
356
- }
357
- .swagger-section .swagger-ui-wrap .info_tos {
358
- padding-bottom: 5px;
359
- }
360
- .swagger-section .swagger-ui-wrap .message-fail {
361
- color: #cc0000;
362
- }
363
- .swagger-section .swagger-ui-wrap .info_url {
364
- padding-bottom: 5px;
365
- }
366
- .swagger-section .swagger-ui-wrap .info_email {
367
- padding-bottom: 5px;
368
- }
369
- .swagger-section .swagger-ui-wrap .info_name {
370
- padding-bottom: 5px;
371
- }
372
- .swagger-section .swagger-ui-wrap .info_description {
373
- padding-bottom: 10px;
374
- font-size: 15px;
375
- }
376
- .swagger-section .swagger-ui-wrap .markdown ol li,
377
- .swagger-section .swagger-ui-wrap .markdown ul li {
378
- padding: 3px 0px;
379
- line-height: 1.4em;
380
- color: #333333;
381
- }
382
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
383
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
384
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
385
- display: block;
386
- padding: 4px;
387
- width: auto;
388
- clear: both;
389
- }
390
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
391
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
392
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
393
- font-size: 1.3em;
394
- }
395
- .swagger-section .swagger-ui-wrap table.fullwidth {
396
- width: 100%;
397
- }
398
- .swagger-section .swagger-ui-wrap .model-signature {
399
- font-family: "Droid Sans", sans-serif;
400
- font-size: 1em;
401
- line-height: 1.5em;
402
- }
403
- .swagger-section .swagger-ui-wrap .model-signature .signature-nav a {
404
- text-decoration: none;
405
- color: #AAA;
406
- }
407
- .swagger-section .swagger-ui-wrap .model-signature .signature-nav a:hover {
408
- text-decoration: underline;
409
- color: black;
410
- }
411
- .swagger-section .swagger-ui-wrap .model-signature .signature-nav .selected {
412
- color: black;
413
- text-decoration: none;
414
- }
415
- .swagger-section .swagger-ui-wrap .model-signature .propType {
416
- color: #5555aa;
417
- }
418
- .swagger-section .swagger-ui-wrap .model-signature pre:hover {
419
- background-color: #ffffdd;
420
- }
421
- .swagger-section .swagger-ui-wrap .model-signature pre {
422
- font-size: .85em;
423
- line-height: 1.2em;
424
- overflow: auto;
425
- max-height: 200px;
426
- cursor: pointer;
427
- }
428
- .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav {
429
- display: block;
430
- min-width: 230px;
431
- margin: 0;
432
- padding: 0;
433
- }
434
- .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
435
- padding-right: 0;
436
- border-right: none;
437
- }
438
- .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li {
439
- float: left;
440
- margin: 0 5px 5px 0;
441
- padding: 2px 5px 2px 0;
442
- border-right: 1px solid #ddd;
443
- }
444
- .swagger-section .swagger-ui-wrap .model-signature .propOpt {
445
- color: #555;
446
- }
447
- .swagger-section .swagger-ui-wrap .model-signature .snippet small {
448
- font-size: 0.75em;
449
- }
450
- .swagger-section .swagger-ui-wrap .model-signature .propOptKey {
451
- font-style: italic;
452
- }
453
- .swagger-section .swagger-ui-wrap .model-signature .description .strong {
454
- font-weight: bold;
455
- color: #000;
456
- font-size: .9em;
457
- }
458
- .swagger-section .swagger-ui-wrap .model-signature .description div {
459
- font-size: 0.9em;
460
- line-height: 1.5em;
461
- margin-left: 1em;
462
- }
463
- .swagger-section .swagger-ui-wrap .model-signature .description .stronger {
464
- font-weight: bold;
465
- color: #000;
466
- }
467
- .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper {
468
- border-spacing: 0;
469
- position: absolute;
470
- background-color: #ffffff;
471
- border: 1px solid #bbbbbb;
472
- display: none;
473
- font-size: 11px;
474
- max-width: 400px;
475
- line-height: 30px;
476
- color: black;
477
- padding: 5px;
478
- margin-left: 10px;
479
- }
480
- .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper th {
481
- text-align: center;
482
- background-color: #eeeeee;
483
- border: 1px solid #bbbbbb;
484
- font-size: 11px;
485
- color: #666666;
486
- font-weight: bold;
487
- padding: 5px;
488
- line-height: 15px;
489
- }
490
- .swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper .optionName {
491
- font-weight: bold;
492
- }
493
- .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:first-child,
494
- .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:last-child {
495
- display: inline;
496
- }
497
- .swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:not(:first-child):before {
498
- display: block;
499
- content: '';
500
- }
501
- .swagger-section .swagger-ui-wrap .model-signature .description span:last-of-type.propDesc.markdown > p:only-child {
502
- margin-right: -3px;
503
- }
504
- .swagger-section .swagger-ui-wrap .model-signature .propName {
505
- font-weight: bold;
506
- }
507
- .swagger-section .swagger-ui-wrap .model-signature .signature-container {
508
- clear: both;
509
- }
510
- .swagger-section .swagger-ui-wrap .body-textarea {
511
- width: 300px;
512
- height: 100px;
513
- border: 1px solid #aaa;
514
- }
515
- .swagger-section .swagger-ui-wrap .markdown p code,
516
- .swagger-section .swagger-ui-wrap .markdown li code {
517
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
518
- background-color: #f0f0f0;
519
- color: black;
520
- padding: 1px 3px;
521
- }
522
- .swagger-section .swagger-ui-wrap .required {
523
- font-weight: bold;
524
- }
525
- .swagger-section .swagger-ui-wrap .editor_holder {
526
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
527
- font-size: 0.9em;
528
- }
529
- .swagger-section .swagger-ui-wrap .editor_holder label {
530
- font-weight: normal!important;
531
- /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */
532
- }
533
- .swagger-section .swagger-ui-wrap .editor_holder label.required {
534
- font-weight: bold!important;
535
- }
536
- .swagger-section .swagger-ui-wrap input.parameter {
537
- width: 300px;
538
- border: 1px solid #aaa;
539
- }
540
- .swagger-section .swagger-ui-wrap h1 {
541
- color: black;
542
- font-size: 1.5em;
543
- line-height: 1.3em;
544
- padding: 10px 0 10px 0;
545
- font-family: "Droid Sans", sans-serif;
546
- font-weight: bold;
547
- }
548
- .swagger-section .swagger-ui-wrap .heading_with_menu {
549
- float: none;
550
- clear: both;
551
- overflow: hidden;
552
- display: block;
553
- }
554
- .swagger-section .swagger-ui-wrap .heading_with_menu ul {
555
- display: block;
556
- clear: none;
557
- float: right;
558
- -moz-box-sizing: border-box;
559
- -webkit-box-sizing: border-box;
560
- -ms-box-sizing: border-box;
561
- box-sizing: border-box;
562
- margin-top: 10px;
563
- }
564
- .swagger-section .swagger-ui-wrap h2 {
565
- color: black;
566
- font-size: 1.3em;
567
- padding: 10px 0 10px 0;
568
- }
569
- .swagger-section .swagger-ui-wrap h2 a {
570
- color: black;
571
- }
572
- .swagger-section .swagger-ui-wrap h2 span.sub {
573
- font-size: 0.7em;
574
- color: #999999;
575
- font-style: italic;
576
- }
577
- .swagger-section .swagger-ui-wrap h2 span.sub a {
578
- color: #777777;
579
- }
580
- .swagger-section .swagger-ui-wrap span.weak {
581
- color: #666666;
582
- }
583
- .swagger-section .swagger-ui-wrap .message-success {
584
- color: #89BF04;
585
- }
586
- .swagger-section .swagger-ui-wrap caption,
587
- .swagger-section .swagger-ui-wrap th,
588
- .swagger-section .swagger-ui-wrap td {
589
- text-align: left;
590
- font-weight: normal;
591
- vertical-align: middle;
592
- }
593
- .swagger-section .swagger-ui-wrap .code {
594
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
595
- }
596
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
597
- font-family: "Droid Sans", sans-serif;
598
- height: 250px;
599
- padding: 4px;
600
- display: block;
601
- clear: both;
602
- }
603
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
604
- display: block;
605
- clear: both;
606
- }
607
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
608
- float: none;
609
- clear: both;
610
- overflow: hidden;
611
- display: block;
612
- }
613
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
614
- display: block;
615
- float: left;
616
- clear: none;
617
- margin: 0;
618
- padding: 0;
619
- }
620
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
621
- display: block;
622
- float: left;
623
- clear: none;
624
- margin: 0 5px 0 0;
625
- }
626
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
627
- color: black;
628
- }
629
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
630
- display: block;
631
- clear: both;
632
- width: auto;
633
- padding: 0 0 3px;
634
- color: #666666;
635
- }
636
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
637
- padding-left: 3px;
638
- color: #888888;
639
- }
640
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
641
- margin-left: 0;
642
- font-style: italic;
643
- font-size: 0.9em;
644
- margin: 0;
645
- }
646
- .swagger-section .swagger-ui-wrap form.formtastic fieldset.buttons {
647
- margin: 0;
648
- padding: 0;
649
- }
650
- .swagger-section .swagger-ui-wrap span.blank,
651
- .swagger-section .swagger-ui-wrap span.empty {
652
- color: #888888;
653
- font-style: italic;
654
- }
655
- .swagger-section .swagger-ui-wrap .markdown h3 {
656
- color: #547f00;
657
- }
658
- .swagger-section .swagger-ui-wrap .markdown h4 {
659
- color: #666666;
660
- }
661
- .swagger-section .swagger-ui-wrap .markdown pre {
662
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
663
- background-color: #fcf6db;
664
- border: 1px solid #e5e0c6;
665
- padding: 10px;
666
- margin: 0 0 10px 0;
667
- }
668
- .swagger-section .swagger-ui-wrap .markdown pre code {
669
- line-height: 1.6em;
670
- overflow: auto;
671
- }
672
- .swagger-section .swagger-ui-wrap div.gist {
673
- margin: 20px 0 25px 0 !important;
674
- }
675
- .swagger-section .swagger-ui-wrap ul#resources {
676
- font-family: "Droid Sans", sans-serif;
677
- font-size: 0.9em;
678
- }
679
- .swagger-section .swagger-ui-wrap ul#resources li.resource {
680
- border-bottom: 1px solid #dddddd;
681
- }
682
- .swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
683
- .swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
684
- color: black;
685
- }
686
- .swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
687
- .swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
688
- color: #555555;
689
- }
690
- .swagger-section .swagger-ui-wrap ul#resources li.resource:last-child {
691
- border-bottom: none;
692
- }
693
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading {
694
- border: 1px solid transparent;
695
- float: none;
696
- clear: both;
697
- overflow: hidden;
698
- display: block;
699
- }
700
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
701
- overflow: hidden;
702
- padding: 0;
703
- display: block;
704
- clear: none;
705
- float: right;
706
- margin: 14px 10px 0 0;
707
- }
708
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
709
- float: left;
710
- clear: none;
711
- margin: 0;
712
- padding: 2px 10px;
713
- border-right: 1px solid #dddddd;
714
- color: #666666;
715
- font-size: 0.9em;
716
- }
717
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
718
- color: #aaaaaa;
719
- text-decoration: none;
720
- }
721
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
722
- text-decoration: underline;
723
- color: black;
724
- }
725
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
726
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
727
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
728
- text-decoration: underline;
729
- }
730
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
731
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
732
- padding-left: 0;
733
- }
734
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
735
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
736
- padding-right: 0;
737
- border-right: none;
738
- }
739
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
740
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
741
- padding-left: 0;
742
- }
743
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
744
- color: #999999;
745
- padding-left: 0;
746
- display: block;
747
- clear: none;
748
- float: left;
749
- font-family: "Droid Sans", sans-serif;
750
- font-weight: bold;
751
- }
752
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
753
- color: #999999;
754
- }
755
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
756
- color: black;
757
- }
758
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
759
- float: none;
760
- clear: both;
761
- overflow: hidden;
762
- display: block;
763
- margin: 0 0 10px;
764
- padding: 0;
765
- }
766
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
767
- float: none;
768
- clear: both;
769
- overflow: hidden;
770
- display: block;
771
- margin: 0;
772
- padding: 0;
773
- }
774
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
775
- display: block;
776
- clear: none;
777
- float: left;
778
- width: auto;
779
- margin: 0;
780
- padding: 0;
781
- line-height: 1.1em;
782
- color: black;
783
- }
784
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
785
- padding-left: 10px;
786
- }
787
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
788
- color: black;
789
- text-decoration: none;
790
- }
791
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated {
792
- text-decoration: line-through;
793
- }
794
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
795
- text-decoration: underline;
796
- }
797
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
798
- text-transform: uppercase;
799
- text-decoration: none;
800
- color: white;
801
- display: inline-block;
802
- width: 50px;
803
- font-size: 0.7em;
804
- text-align: center;
805
- padding: 7px 0 4px;
806
- -moz-border-radius: 2px;
807
- -webkit-border-radius: 2px;
808
- -o-border-radius: 2px;
809
- -ms-border-radius: 2px;
810
- -khtml-border-radius: 2px;
811
- border-radius: 2px;
812
- }
813
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
814
- margin: 0;
815
- padding: 0;
816
- }
817
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
818
- overflow: hidden;
819
- padding: 0;
820
- display: block;
821
- clear: none;
822
- float: right;
823
- margin: 6px 10px 0 0;
824
- }
825
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
826
- float: left;
827
- clear: none;
828
- margin: 0;
829
- padding: 2px 10px;
830
- font-size: 0.9em;
831
- }
832
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
833
- text-decoration: none;
834
- }
835
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a .markdown p {
836
- color: inherit;
837
- padding: 0;
838
- line-height: inherit;
839
- }
840
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li.access {
841
- color: black;
842
- }
843
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
844
- border-top: none;
845
- padding: 10px;
846
- -moz-border-radius-bottomleft: 6px;
847
- -webkit-border-bottom-left-radius: 6px;
848
- -o-border-bottom-left-radius: 6px;
849
- -ms-border-bottom-left-radius: 6px;
850
- -khtml-border-bottom-left-radius: 6px;
851
- border-bottom-left-radius: 6px;
852
- -moz-border-radius-bottomright: 6px;
853
- -webkit-border-bottom-right-radius: 6px;
854
- -o-border-bottom-right-radius: 6px;
855
- -ms-border-bottom-right-radius: 6px;
856
- -khtml-border-bottom-right-radius: 6px;
857
- border-bottom-right-radius: 6px;
858
- margin: 0 0 20px;
859
- }
860
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
861
- font-size: 1.1em;
862
- margin: 0;
863
- padding: 15px 0 5px;
864
- }
865
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
866
- float: none;
867
- clear: both;
868
- overflow: hidden;
869
- display: block;
870
- }
871
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
872
- padding: 4px 0 0 10px;
873
- display: inline-block;
874
- font-size: 0.9em;
875
- }
876
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
877
- display: block;
878
- clear: none;
879
- float: left;
880
- padding: 6px 8px;
881
- }
882
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
883
- background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
884
- width: 128px;
885
- height: 16px;
886
- display: block;
887
- clear: none;
888
- float: right;
889
- }
890
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
891
- outline: 2px solid black;
892
- outline-color: #cc0000;
893
- }
894
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form select[name='parameterContentType'] {
895
- max-width: 300px;
896
- }
897
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
898
- font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
899
- padding: 10px;
900
- font-size: 0.9em;
901
- max-height: 400px;
902
- overflow-y: auto;
903
- }
904
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
905
- background-color: #f9f2e9;
906
- border: 1px solid #f0e0ca;
907
- }
908
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
909
- background-color: #c5862b;
910
- }
911
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
912
- border-right: 1px solid #dddddd;
913
- border-right-color: #f0e0ca;
914
- color: #c5862b;
915
- }
916
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
917
- color: #c5862b;
918
- }
919
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
920
- background-color: #faf5ee;
921
- border: 1px solid #f0e0ca;
922
- }
923
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
924
- color: #c5862b;
925
- }
926
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
927
- color: #dcb67f;
928
- }
929
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
930
- background-color: #fcffcd;
931
- border: 1px solid black;
932
- border-color: #ffd20f;
933
- }
934
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
935
- text-transform: uppercase;
936
- background-color: #ffd20f;
937
- }
938
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
939
- border-right: 1px solid #dddddd;
940
- border-right-color: #ffd20f;
941
- color: #ffd20f;
942
- }
943
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
944
- color: #ffd20f;
945
- }
946
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
947
- background-color: #fcffcd;
948
- border: 1px solid black;
949
- border-color: #ffd20f;
950
- }
951
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
952
- color: #ffd20f;
953
- }
954
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
955
- color: #6fc992;
956
- }
957
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
958
- background-color: #f5e8e8;
959
- border: 1px solid #e8c6c7;
960
- }
961
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
962
- text-transform: uppercase;
963
- background-color: #a41e22;
964
- }
965
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
966
- border-right: 1px solid #dddddd;
967
- border-right-color: #e8c6c7;
968
- color: #a41e22;
969
- }
970
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
971
- color: #a41e22;
972
- }
973
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
974
- background-color: #f7eded;
975
- border: 1px solid #e8c6c7;
976
- }
977
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
978
- color: #a41e22;
979
- }
980
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
981
- color: #c8787a;
982
- }
983
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
984
- background-color: #e7f6ec;
985
- border: 1px solid #c3e8d1;
986
- }
987
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
988
- background-color: #10a54a;
989
- }
990
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
991
- border-right: 1px solid #dddddd;
992
- border-right-color: #c3e8d1;
993
- color: #10a54a;
994
- }
995
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
996
- color: #10a54a;
997
- }
998
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
999
- background-color: #ebf7f0;
1000
- border: 1px solid #c3e8d1;
1001
- }
1002
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
1003
- color: #10a54a;
1004
- }
1005
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
1006
- color: #6fc992;
1007
- }
1008
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
1009
- background-color: #FCE9E3;
1010
- border: 1px solid #F5D5C3;
1011
- }
1012
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
1013
- background-color: #D38042;
1014
- }
1015
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
1016
- border-right: 1px solid #dddddd;
1017
- border-right-color: #f0cecb;
1018
- color: #D38042;
1019
- }
1020
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
1021
- color: #D38042;
1022
- }
1023
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
1024
- background-color: #faf0ef;
1025
- border: 1px solid #f0cecb;
1026
- }
1027
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
1028
- color: #D38042;
1029
- }
1030
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
1031
- color: #dcb67f;
1032
- }
1033
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
1034
- background-color: #e7f0f7;
1035
- border: 1px solid #c3d9ec;
1036
- }
1037
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
1038
- background-color: #0f6ab4;
1039
- }
1040
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
1041
- border-right: 1px solid #dddddd;
1042
- border-right-color: #c3d9ec;
1043
- color: #0f6ab4;
1044
- }
1045
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
1046
- color: #0f6ab4;
1047
- }
1048
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
1049
- background-color: #ebf3f9;
1050
- border: 1px solid #c3d9ec;
1051
- }
1052
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
1053
- color: #0f6ab4;
1054
- }
1055
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
1056
- color: #6fa5d2;
1057
- }
1058
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading {
1059
- background-color: #e7f0f7;
1060
- border: 1px solid #c3d9ec;
1061
- }
1062
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading h3 span.http_method a {
1063
- background-color: #0f6ab4;
1064
- }
1065
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li {
1066
- border-right: 1px solid #dddddd;
1067
- border-right-color: #c3d9ec;
1068
- color: #0f6ab4;
1069
- }
1070
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li a {
1071
- color: #0f6ab4;
1072
- }
1073
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content {
1074
- background-color: #ebf3f9;
1075
- border: 1px solid #c3d9ec;
1076
- }
1077
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content h4 {
1078
- color: #0f6ab4;
1079
- }
1080
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content div.sandbox_header a {
1081
- color: #6fa5d2;
1082
- }
1083
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
1084
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
1085
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
1086
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
1087
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
1088
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
1089
- border-top: none;
1090
- }
1091
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
1092
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
1093
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
1094
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
1095
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
1096
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
1097
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
1098
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
1099
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
1100
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
1101
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
1102
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
1103
- padding-right: 0;
1104
- border-right: none;
1105
- }
1106
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
1107
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
1108
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
1109
- text-decoration: underline;
1110
- }
1111
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
1112
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
1113
- padding-left: 0;
1114
- }
1115
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
1116
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
1117
- padding-left: 0;
1118
- }
1119
- .swagger-section .swagger-ui-wrap p#colophon {
1120
- margin: 0 15px 40px 15px;
1121
- padding: 10px 0;
1122
- font-size: 0.8em;
1123
- border-top: 1px solid #dddddd;
1124
- font-family: "Droid Sans", sans-serif;
1125
- color: #999999;
1126
- font-style: italic;
1127
- }
1128
- .swagger-section .swagger-ui-wrap p#colophon a {
1129
- text-decoration: none;
1130
- color: #547f00;
1131
- }
1132
- .swagger-section .swagger-ui-wrap h3 {
1133
- color: black;
1134
- font-size: 1.1em;
1135
- padding: 10px 0 10px 0;
1136
- }
1137
- .swagger-section .swagger-ui-wrap .markdown ol,
1138
- .swagger-section .swagger-ui-wrap .markdown ul {
1139
- font-family: "Droid Sans", sans-serif;
1140
- margin: 5px 0 10px;
1141
- padding: 0 0 0 18px;
1142
- list-style-type: disc;
1143
- }
1144
- .swagger-section .swagger-ui-wrap form.form_box {
1145
- background-color: #ebf3f9;
1146
- border: 1px solid #c3d9ec;
1147
- padding: 10px;
1148
- }
1149
- .swagger-section .swagger-ui-wrap form.form_box label {
1150
- color: #0f6ab4 !important;
1151
- }
1152
- .swagger-section .swagger-ui-wrap form.form_box input[type=submit] {
1153
- display: block;
1154
- padding: 10px;
1155
- }
1156
- .swagger-section .swagger-ui-wrap form.form_box p.weak {
1157
- font-size: 0.8em;
1158
- }
1159
- .swagger-section .swagger-ui-wrap form.form_box p {
1160
- font-size: 0.9em;
1161
- padding: 0 0 15px;
1162
- color: #7e7b6d;
1163
- }
1164
- .swagger-section .swagger-ui-wrap form.form_box p a {
1165
- color: #646257;
1166
- }
1167
- .swagger-section .swagger-ui-wrap form.form_box p strong {
1168
- color: black;
1169
- }
1170
- .swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1171
- padding-bottom: 0;
1172
- }
1173
- .swagger-section .title {
1174
- font-style: bold;
1175
- }
1176
- .swagger-section .secondary_form {
1177
- display: none;
1178
- }
1179
- .swagger-section .main_image {
1180
- display: block;
1181
- margin-left: auto;
1182
- margin-right: auto;
1183
- }
1184
- .swagger-section .oauth_body {
1185
- margin-left: 100px;
1186
- margin-right: 100px;
1187
- }
1188
- .swagger-section .oauth_submit {
1189
- text-align: center;
1190
- display: inline-block;
1191
- }
1192
- .swagger-section .authorize-wrapper {
1193
- margin: 15px 0 10px;
1194
- }
1195
- .swagger-section .authorize-wrapper_operation {
1196
- float: right;
1197
- }
1198
- .swagger-section .authorize__btn:hover {
1199
- text-decoration: underline;
1200
- cursor: pointer;
1201
- }
1202
- .swagger-section .authorize__btn_operation:hover .authorize-scopes {
1203
- display: block;
1204
- }
1205
- .swagger-section .authorize-scopes {
1206
- position: absolute;
1207
- margin-top: 20px;
1208
- background: #FFF;
1209
- border: 1px solid #ccc;
1210
- border-radius: 5px;
1211
- display: none;
1212
- font-size: 13px;
1213
- max-width: 300px;
1214
- line-height: 30px;
1215
- color: black;
1216
- padding: 5px;
1217
- }
1218
- .swagger-section .authorize-scopes .authorize__scope {
1219
- text-decoration: none;
1220
- }
1221
- .swagger-section .authorize__btn_operation {
1222
- height: 18px;
1223
- vertical-align: middle;
1224
- display: inline-block;
1225
- background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
1226
- }
1227
- .swagger-section .authorize__btn_operation_login {
1228
- background-position: 0 0;
1229
- width: 18px;
1230
- margin-top: -6px;
1231
- margin-left: 4px;
1232
- }
1233
- .swagger-section .authorize__btn_operation_logout {
1234
- background-position: -30px 0;
1235
- width: 18px;
1236
- margin-top: -6px;
1237
- margin-left: 4px;
1238
- }
1239
- .swagger-section #auth_container {
1240
- color: #fff;
1241
- display: inline-block;
1242
- border: none;
1243
- padding: 5px;
1244
- width: 87px;
1245
- height: 13px;
1246
- }
1247
- .swagger-section #auth_container .authorize__btn {
1248
- color: #fff;
1249
- }
1250
- .swagger-section .auth_container {
1251
- padding: 0 0 10px;
1252
- margin-bottom: 5px;
1253
- border-bottom: solid 1px #CCC;
1254
- font-size: 0.9em;
1255
- }
1256
- .swagger-section .auth_container .auth__title {
1257
- color: #547f00;
1258
- font-size: 1.2em;
1259
- }
1260
- .swagger-section .auth_container .basic_auth__label {
1261
- display: inline-block;
1262
- width: 60px;
1263
- }
1264
- .swagger-section .auth_container .auth__description {
1265
- color: #999999;
1266
- margin-bottom: 5px;
1267
- }
1268
- .swagger-section .auth_container .auth__button {
1269
- margin-top: 10px;
1270
- height: 30px;
1271
- }
1272
- .swagger-section .auth_container .key_auth__field {
1273
- margin: 5px 0;
1274
- }
1275
- .swagger-section .auth_container .key_auth__label {
1276
- display: inline-block;
1277
- width: 60px;
1278
- }
1279
- .swagger-section .api-popup-dialog {
1280
- position: absolute;
1281
- display: none;
1282
- }
1283
- .swagger-section .api-popup-dialog-wrapper {
1284
- z-index: 1000;
1285
- width: 500px;
1286
- background: #FFF;
1287
- padding: 20px;
1288
- border: 1px solid #ccc;
1289
- border-radius: 5px;
1290
- font-size: 13px;
1291
- color: #777;
1292
- position: fixed;
1293
- top: 50%;
1294
- left: 50%;
1295
- transform: translate(-50%, -50%);
1296
- }
1297
- .swagger-section .api-popup-dialog-shadow {
1298
- position: fixed;
1299
- top: 0;
1300
- left: 0;
1301
- width: 100%;
1302
- height: 100%;
1303
- opacity: 0.2;
1304
- background-color: gray;
1305
- z-index: 900;
1306
- }
1307
- .swagger-section .api-popup-dialog .api-popup-title {
1308
- font-size: 24px;
1309
- padding: 10px 0;
1310
- }
1311
- .swagger-section .api-popup-dialog .api-popup-title {
1312
- font-size: 24px;
1313
- padding: 10px 0;
1314
- }
1315
- .swagger-section .api-popup-dialog .error-msg {
1316
- padding-left: 5px;
1317
- padding-bottom: 5px;
1318
- }
1319
- .swagger-section .api-popup-dialog .api-popup-content {
1320
- max-height: 500px;
1321
- overflow-y: auto;
1322
- }
1323
- .swagger-section .api-popup-dialog .api-popup-authbtn {
1324
- height: 30px;
1325
- }
1326
- .swagger-section .api-popup-dialog .api-popup-cancel {
1327
- height: 30px;
1328
- }
1329
- .swagger-section .api-popup-scopes {
1330
- padding: 10px 20px;
1331
- }
1332
- .swagger-section .api-popup-scopes li {
1333
- padding: 5px 0;
1334
- line-height: 20px;
1335
- }
1336
- .swagger-section .api-popup-scopes li input {
1337
- position: relative;
1338
- top: 2px;
1339
- }
1340
- .swagger-section .api-popup-scopes .api-scope-desc {
1341
- padding-left: 20px;
1342
- font-style: italic;
1343
- }
1344
- .swagger-section .api-popup-actions {
1345
- padding-top: 10px;
1346
- }
1347
- #header {
1348
- display: none;
1349
- }
1350
- .swagger-section .swagger-ui-wrap .model-signature pre {
1351
- max-height: none;
1352
- }
1353
- .swagger-section .swagger-ui-wrap .body-textarea {
1354
- width: 100px;
1355
- }
1356
- .swagger-section .swagger-ui-wrap input.parameter {
1357
- width: 100px;
1358
- }
1359
- .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
1360
- display: none;
1361
- }
1362
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints {
1363
- display: block !important;
1364
- }
1365
- .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
1366
- display: block !important;
1367
- }