grape-swagger-rails 0.0.8 → 0.0.10

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +3 -0
  3. data/.travis.yml +10 -0
  4. data/Gemfile +1 -2
  5. data/README.md +35 -21
  6. data/Rakefile +25 -0
  7. data/app/assets/images/grape_swagger_rails/explorer_icons.png +0 -0
  8. data/app/assets/javascripts/grape_swagger_rails/application.js +2 -13
  9. data/app/assets/javascripts/grape_swagger_rails/swagger-oauth.js +211 -0
  10. data/app/assets/javascripts/grape_swagger_rails/swagger-ui.min.js +1 -1
  11. data/app/assets/javascripts/grape_swagger_rails/swagger.js +1521 -1398
  12. data/app/assets/stylesheets/grape_swagger_rails/application.css +4 -13
  13. data/app/assets/stylesheets/grape_swagger_rails/reset.css +125 -0
  14. data/app/assets/stylesheets/grape_swagger_rails/screen.css.erb +545 -391
  15. data/app/controllers/grape_swagger_rails/application_controller.rb +3 -3
  16. data/app/views/grape_swagger_rails/application/index.html.erb +13 -7
  17. data/grape-swagger-rails.gemspec +21 -8
  18. data/lib/grape-swagger-rails.rb +16 -13
  19. data/lib/grape-swagger-rails/engine.rb +1 -0
  20. data/lib/grape-swagger-rails/version.rb +1 -1
  21. data/lib/javascripts/base64.js +134 -0
  22. data/lib/tasks/swagger_ui.rake +98 -0
  23. data/spec/dummy/.gitignore +16 -0
  24. data/spec/dummy/Rakefile +5 -0
  25. data/spec/dummy/app/api/api.rb +31 -0
  26. data/spec/dummy/app/assets/javascripts/application.js +3 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +4 -0
  28. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  29. data/spec/dummy/app/controllers/welcome_controller.rb +4 -0
  30. data/spec/dummy/app/views/layouts/_messages.html.erb +5 -0
  31. data/spec/dummy/app/views/layouts/application.html.erb +16 -0
  32. data/spec/dummy/app/views/welcome/index.html.erb +3 -0
  33. data/spec/dummy/bin/bundle +3 -0
  34. data/spec/dummy/bin/rails +8 -0
  35. data/spec/dummy/bin/rake +8 -0
  36. data/spec/dummy/bin/spring +18 -0
  37. data/spec/dummy/config.ru +4 -0
  38. data/spec/dummy/config/application.rb +23 -0
  39. data/spec/dummy/config/boot.rb +10 -0
  40. data/spec/dummy/config/environment.rb +3 -0
  41. data/spec/dummy/config/environments/development.rb +34 -0
  42. data/spec/dummy/config/environments/production.rb +79 -0
  43. data/spec/dummy/config/environments/test.rb +39 -0
  44. data/spec/dummy/config/initializers/assets.rb +1 -0
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +1 -0
  46. data/spec/dummy/config/initializers/session_store.rb +1 -0
  47. data/spec/dummy/config/initializers/swagger.rb +3 -0
  48. data/spec/dummy/config/routes.rb +5 -0
  49. data/spec/dummy/config/secrets.yml +8 -0
  50. data/spec/dummy/public/.gitignore +2 -0
  51. data/spec/dummy/public/404.html +67 -0
  52. data/spec/dummy/public/422.html +67 -0
  53. data/spec/dummy/public/500.html +66 -0
  54. data/spec/dummy/public/favicon.ico +0 -0
  55. data/spec/dummy/public/robots.txt +5 -0
  56. data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
  57. data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
  58. data/spec/features/grape-swagger-rails_spec.rb +15 -0
  59. data/spec/features/swagger_spec.rb +116 -0
  60. data/spec/features/welcome_spec.rb +10 -0
  61. data/spec/spec_helper.rb +15 -0
  62. data/spec/support/capybara.rb +5 -0
  63. data/spec/support/rails.rb +1 -0
  64. metadata +283 -31
  65. data/app/assets/javascripts/grape_swagger_rails/swagger-ui.js.erb +0 -2129
  66. data/app/assets/stylesheets/grape_swagger_rails/highlight.default.css +0 -135
@@ -1,14 +1,5 @@
1
1
  /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the top of the
9
- * compiled file, but it's generally better to create a new file per style scope.
10
- *
11
- *= require ./highlight.default
12
- *= require ./screen
13
- *= require_self
14
- */
2
+ *= require ./reset
3
+ *= require ./screen
4
+ *= require_self
5
+ */
@@ -0,0 +1,125 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2
+ html,
3
+ body,
4
+ div,
5
+ span,
6
+ applet,
7
+ object,
8
+ iframe,
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6,
15
+ p,
16
+ blockquote,
17
+ pre,
18
+ a,
19
+ abbr,
20
+ acronym,
21
+ address,
22
+ big,
23
+ cite,
24
+ code,
25
+ del,
26
+ dfn,
27
+ em,
28
+ img,
29
+ ins,
30
+ kbd,
31
+ q,
32
+ s,
33
+ samp,
34
+ small,
35
+ strike,
36
+ strong,
37
+ sub,
38
+ sup,
39
+ tt,
40
+ var,
41
+ b,
42
+ u,
43
+ i,
44
+ center,
45
+ dl,
46
+ dt,
47
+ dd,
48
+ ol,
49
+ ul,
50
+ li,
51
+ fieldset,
52
+ form,
53
+ label,
54
+ legend,
55
+ table,
56
+ caption,
57
+ tbody,
58
+ tfoot,
59
+ thead,
60
+ tr,
61
+ th,
62
+ td,
63
+ article,
64
+ aside,
65
+ canvas,
66
+ details,
67
+ embed,
68
+ figure,
69
+ figcaption,
70
+ footer,
71
+ header,
72
+ hgroup,
73
+ menu,
74
+ nav,
75
+ output,
76
+ ruby,
77
+ section,
78
+ summary,
79
+ time,
80
+ mark,
81
+ audio,
82
+ video {
83
+ margin: 0;
84
+ padding: 0;
85
+ border: 0;
86
+ font-size: 100%;
87
+ font: inherit;
88
+ vertical-align: baseline;
89
+ }
90
+ /* HTML5 display-role reset for older browsers */
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
104
+ body {
105
+ line-height: 1;
106
+ }
107
+ ol,
108
+ ul {
109
+ list-style: none;
110
+ }
111
+ blockquote,
112
+ q {
113
+ quotes: none;
114
+ }
115
+ blockquote:before,
116
+ blockquote:after,
117
+ q:before,
118
+ q:after {
119
+ content: '';
120
+ content: none;
121
+ }
122
+ table {
123
+ border-collapse: collapse;
124
+ border-spacing: 0;
125
+ }
@@ -1,161 +1,158 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2
- html,
3
- body,
4
- div,
5
- span,
6
- applet,
7
- object,
8
- iframe,
9
- h1,
10
- h2,
11
- h3,
12
- h4,
13
- h5,
14
- h6,
15
- p,
16
- blockquote,
17
- pre,
18
- a,
19
- abbr,
20
- acronym,
21
- address,
22
- big,
23
- cite,
24
- code,
25
- del,
26
- dfn,
27
- em,
28
- img,
29
- ins,
30
- kbd,
31
- q,
32
- s,
33
- samp,
34
- small,
35
- strike,
36
- strong,
37
- sub,
38
- sup,
39
- tt,
40
- var,
41
- b,
42
- u,
43
- i,
44
- center,
45
- dl,
46
- dt,
47
- dd,
48
- ol,
49
- ul,
50
- li,
51
- fieldset,
52
- form,
53
- label,
54
- legend,
55
- table,
56
- caption,
57
- tbody,
58
- tfoot,
59
- thead,
60
- tr,
61
- th,
62
- td,
63
- article,
64
- aside,
65
- canvas,
66
- details,
67
- embed,
68
- figure,
69
- figcaption,
70
- footer,
71
- header,
72
- hgroup,
73
- menu,
74
- nav,
75
- output,
76
- ruby,
77
- section,
78
- summary,
79
- time,
80
- mark,
81
- audio,
82
- video {
83
- margin: 0;
84
- padding: 0;
85
- border: 0;
86
- font-size: 100%;
87
- font: inherit;
88
- vertical-align: baseline;
89
- }
90
- /* HTML5 display-role reset for older browsers */
91
- article,
92
- aside,
93
- details,
94
- figcaption,
95
- figure,
96
- footer,
97
- header,
98
- hgroup,
99
- menu,
100
- nav,
101
- section {
1
+ /* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
2
+ .swagger-section pre code {
102
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;
103
14
  }
104
- body {
105
- line-height: 1;
106
- }
107
- ol,
108
- ul {
109
- list-style: none;
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: #8888ff;
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;
110
107
  }
111
- blockquote,
112
- q {
113
- quotes: none;
108
+ .swagger-section pre .markdown .emphasis {
109
+ font-style: italic;
114
110
  }
115
- blockquote:before,
116
- blockquote:after,
117
- q:before,
118
- q:after {
119
- content: '';
120
- content: none;
111
+ .swagger-section pre .nginx .built_in {
112
+ font-weight: normal;
121
113
  }
122
- table {
123
- border-collapse: collapse;
124
- border-spacing: 0;
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;
125
122
  }
126
- .swagger-ui-wrap {
123
+ .swagger-section .swagger-ui-wrap {
127
124
  line-height: 1;
128
125
  font-family: "Droid Sans", sans-serif;
129
126
  max-width: 960px;
130
127
  margin-left: auto;
131
128
  margin-right: auto;
132
129
  }
133
- .swagger-ui-wrap b,
134
- .swagger-ui-wrap strong {
130
+ .swagger-section .swagger-ui-wrap b,
131
+ .swagger-section .swagger-ui-wrap strong {
135
132
  font-family: "Droid Sans", sans-serif;
136
133
  font-weight: bold;
137
134
  }
138
- .swagger-ui-wrap q,
139
- .swagger-ui-wrap blockquote {
135
+ .swagger-section .swagger-ui-wrap q,
136
+ .swagger-section .swagger-ui-wrap blockquote {
140
137
  quotes: none;
141
138
  }
142
- .swagger-ui-wrap p {
139
+ .swagger-section .swagger-ui-wrap p {
143
140
  line-height: 1.4em;
144
141
  padding: 0 0 10px;
145
142
  color: #333333;
146
143
  }
147
- .swagger-ui-wrap q:before,
148
- .swagger-ui-wrap q:after,
149
- .swagger-ui-wrap blockquote:before,
150
- .swagger-ui-wrap blockquote:after {
144
+ .swagger-section .swagger-ui-wrap q:before,
145
+ .swagger-section .swagger-ui-wrap q:after,
146
+ .swagger-section .swagger-ui-wrap blockquote:before,
147
+ .swagger-section .swagger-ui-wrap blockquote:after {
151
148
  content: none;
152
149
  }
153
- .swagger-ui-wrap .heading_with_menu h1,
154
- .swagger-ui-wrap .heading_with_menu h2,
155
- .swagger-ui-wrap .heading_with_menu h3,
156
- .swagger-ui-wrap .heading_with_menu h4,
157
- .swagger-ui-wrap .heading_with_menu h5,
158
- .swagger-ui-wrap .heading_with_menu h6 {
150
+ .swagger-section .swagger-ui-wrap .heading_with_menu h1,
151
+ .swagger-section .swagger-ui-wrap .heading_with_menu h2,
152
+ .swagger-section .swagger-ui-wrap .heading_with_menu h3,
153
+ .swagger-section .swagger-ui-wrap .heading_with_menu h4,
154
+ .swagger-section .swagger-ui-wrap .heading_with_menu h5,
155
+ .swagger-section .swagger-ui-wrap .heading_with_menu h6 {
159
156
  display: block;
160
157
  clear: none;
161
158
  float: left;
@@ -165,98 +162,98 @@ table {
165
162
  box-sizing: border-box;
166
163
  width: 60%;
167
164
  }
168
- .swagger-ui-wrap table {
165
+ .swagger-section .swagger-ui-wrap table {
169
166
  border-collapse: collapse;
170
167
  border-spacing: 0;
171
168
  }
172
- .swagger-ui-wrap table thead tr th {
169
+ .swagger-section .swagger-ui-wrap table thead tr th {
173
170
  padding: 5px;
174
171
  font-size: 0.9em;
175
172
  color: #666666;
176
173
  border-bottom: 1px solid #999999;
177
174
  }
178
- .swagger-ui-wrap table tbody tr:last-child td {
175
+ .swagger-section .swagger-ui-wrap table tbody tr:last-child td {
179
176
  border-bottom: none;
180
177
  }
181
- .swagger-ui-wrap table tbody tr.offset {
178
+ .swagger-section .swagger-ui-wrap table tbody tr.offset {
182
179
  background-color: #f0f0f0;
183
180
  }
184
- .swagger-ui-wrap table tbody tr td {
181
+ .swagger-section .swagger-ui-wrap table tbody tr td {
185
182
  padding: 6px;
186
183
  font-size: 0.9em;
187
184
  border-bottom: 1px solid #cccccc;
188
185
  vertical-align: top;
189
186
  line-height: 1.3em;
190
187
  }
191
- .swagger-ui-wrap ol {
188
+ .swagger-section .swagger-ui-wrap ol {
192
189
  margin: 0px 0 10px;
193
190
  padding: 0 0 0 18px;
194
191
  list-style-type: decimal;
195
192
  }
196
- .swagger-ui-wrap ol li {
193
+ .swagger-section .swagger-ui-wrap ol li {
197
194
  padding: 5px 0px;
198
195
  font-size: 0.9em;
199
196
  color: #333333;
200
197
  }
201
- .swagger-ui-wrap ol,
202
- .swagger-ui-wrap ul {
198
+ .swagger-section .swagger-ui-wrap ol,
199
+ .swagger-section .swagger-ui-wrap ul {
203
200
  list-style: none;
204
201
  }
205
- .swagger-ui-wrap h1 a,
206
- .swagger-ui-wrap h2 a,
207
- .swagger-ui-wrap h3 a,
208
- .swagger-ui-wrap h4 a,
209
- .swagger-ui-wrap h5 a,
210
- .swagger-ui-wrap h6 a {
202
+ .swagger-section .swagger-ui-wrap h1 a,
203
+ .swagger-section .swagger-ui-wrap h2 a,
204
+ .swagger-section .swagger-ui-wrap h3 a,
205
+ .swagger-section .swagger-ui-wrap h4 a,
206
+ .swagger-section .swagger-ui-wrap h5 a,
207
+ .swagger-section .swagger-ui-wrap h6 a {
211
208
  text-decoration: none;
212
209
  }
213
- .swagger-ui-wrap h1 a:hover,
214
- .swagger-ui-wrap h2 a:hover,
215
- .swagger-ui-wrap h3 a:hover,
216
- .swagger-ui-wrap h4 a:hover,
217
- .swagger-ui-wrap h5 a:hover,
218
- .swagger-ui-wrap h6 a:hover {
210
+ .swagger-section .swagger-ui-wrap h1 a:hover,
211
+ .swagger-section .swagger-ui-wrap h2 a:hover,
212
+ .swagger-section .swagger-ui-wrap h3 a:hover,
213
+ .swagger-section .swagger-ui-wrap h4 a:hover,
214
+ .swagger-section .swagger-ui-wrap h5 a:hover,
215
+ .swagger-section .swagger-ui-wrap h6 a:hover {
219
216
  text-decoration: underline;
220
217
  }
221
- .swagger-ui-wrap h1 span.divider,
222
- .swagger-ui-wrap h2 span.divider,
223
- .swagger-ui-wrap h3 span.divider,
224
- .swagger-ui-wrap h4 span.divider,
225
- .swagger-ui-wrap h5 span.divider,
226
- .swagger-ui-wrap h6 span.divider {
218
+ .swagger-section .swagger-ui-wrap h1 span.divider,
219
+ .swagger-section .swagger-ui-wrap h2 span.divider,
220
+ .swagger-section .swagger-ui-wrap h3 span.divider,
221
+ .swagger-section .swagger-ui-wrap h4 span.divider,
222
+ .swagger-section .swagger-ui-wrap h5 span.divider,
223
+ .swagger-section .swagger-ui-wrap h6 span.divider {
227
224
  color: #aaaaaa;
228
225
  }
229
- .swagger-ui-wrap a {
226
+ .swagger-section .swagger-ui-wrap a {
230
227
  color: #547f00;
231
228
  }
232
- .swagger-ui-wrap a img {
229
+ .swagger-section .swagger-ui-wrap a img {
233
230
  border: none;
234
231
  }
235
- .swagger-ui-wrap article,
236
- .swagger-ui-wrap aside,
237
- .swagger-ui-wrap details,
238
- .swagger-ui-wrap figcaption,
239
- .swagger-ui-wrap figure,
240
- .swagger-ui-wrap footer,
241
- .swagger-ui-wrap header,
242
- .swagger-ui-wrap hgroup,
243
- .swagger-ui-wrap menu,
244
- .swagger-ui-wrap nav,
245
- .swagger-ui-wrap section,
246
- .swagger-ui-wrap summary {
232
+ .swagger-section .swagger-ui-wrap article,
233
+ .swagger-section .swagger-ui-wrap aside,
234
+ .swagger-section .swagger-ui-wrap details,
235
+ .swagger-section .swagger-ui-wrap figcaption,
236
+ .swagger-section .swagger-ui-wrap figure,
237
+ .swagger-section .swagger-ui-wrap footer,
238
+ .swagger-section .swagger-ui-wrap header,
239
+ .swagger-section .swagger-ui-wrap hgroup,
240
+ .swagger-section .swagger-ui-wrap menu,
241
+ .swagger-section .swagger-ui-wrap nav,
242
+ .swagger-section .swagger-ui-wrap section,
243
+ .swagger-section .swagger-ui-wrap summary {
247
244
  display: block;
248
245
  }
249
- .swagger-ui-wrap pre {
246
+ .swagger-section .swagger-ui-wrap pre {
250
247
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
251
248
  background-color: #fcf6db;
252
249
  border: 1px solid #e5e0c6;
253
250
  padding: 10px;
254
251
  }
255
- .swagger-ui-wrap pre code {
252
+ .swagger-section .swagger-ui-wrap pre code {
256
253
  line-height: 1.6em;
257
254
  background: none;
258
255
  }
259
- .swagger-ui-wrap .content > .content-type > div > label {
256
+ .swagger-section .swagger-ui-wrap .content > .content-type > div > label {
260
257
  clear: both;
261
258
  display: block;
262
259
  color: #0F6AB4;
@@ -264,162 +261,162 @@ table {
264
261
  margin: 0;
265
262
  padding: 15px 0 5px;
266
263
  }
267
- .swagger-ui-wrap .content pre {
264
+ .swagger-section .swagger-ui-wrap .content pre {
268
265
  font-size: 12px;
269
266
  margin-top: 5px;
270
267
  padding: 5px;
271
268
  }
272
- .swagger-ui-wrap .icon-btn {
269
+ .swagger-section .swagger-ui-wrap .icon-btn {
273
270
  cursor: pointer;
274
271
  }
275
- .swagger-ui-wrap .info_title {
272
+ .swagger-section .swagger-ui-wrap .info_title {
276
273
  padding-bottom: 10px;
277
274
  font-weight: bold;
278
275
  font-size: 25px;
279
276
  }
280
- .swagger-ui-wrap p.big,
281
- .swagger-ui-wrap div.big p {
277
+ .swagger-section .swagger-ui-wrap p.big,
278
+ .swagger-section .swagger-ui-wrap div.big p {
282
279
  font-size: 1em;
283
280
  margin-bottom: 10px;
284
281
  }
285
- .swagger-ui-wrap form.fullwidth ol li.string input,
286
- .swagger-ui-wrap form.fullwidth ol li.url input,
287
- .swagger-ui-wrap form.fullwidth ol li.text textarea,
288
- .swagger-ui-wrap form.fullwidth ol li.numeric input {
282
+ .swagger-section .swagger-ui-wrap form.fullwidth ol li.string input,
283
+ .swagger-section .swagger-ui-wrap form.fullwidth ol li.url input,
284
+ .swagger-section .swagger-ui-wrap form.fullwidth ol li.text textarea,
285
+ .swagger-section .swagger-ui-wrap form.fullwidth ol li.numeric input {
289
286
  width: 500px !important;
290
287
  }
291
- .swagger-ui-wrap .info_license {
288
+ .swagger-section .swagger-ui-wrap .info_license {
292
289
  padding-bottom: 5px;
293
290
  }
294
- .swagger-ui-wrap .info_tos {
291
+ .swagger-section .swagger-ui-wrap .info_tos {
295
292
  padding-bottom: 5px;
296
293
  }
297
- .swagger-ui-wrap .message-fail {
294
+ .swagger-section .swagger-ui-wrap .message-fail {
298
295
  color: #cc0000;
299
296
  }
300
- .swagger-ui-wrap .info_contact {
297
+ .swagger-section .swagger-ui-wrap .info_contact {
301
298
  padding-bottom: 5px;
302
299
  }
303
- .swagger-ui-wrap .info_description {
300
+ .swagger-section .swagger-ui-wrap .info_description {
304
301
  padding-bottom: 10px;
305
302
  font-size: 15px;
306
303
  }
307
- .swagger-ui-wrap .markdown ol li,
308
- .swagger-ui-wrap .markdown ul li {
304
+ .swagger-section .swagger-ui-wrap .markdown ol li,
305
+ .swagger-section .swagger-ui-wrap .markdown ul li {
309
306
  padding: 3px 0px;
310
307
  line-height: 1.4em;
311
308
  color: #333333;
312
309
  }
313
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
314
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
315
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
310
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
311
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
312
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
316
313
  display: block;
317
314
  padding: 4px;
318
315
  width: auto;
319
316
  clear: both;
320
317
  }
321
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
322
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
323
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
318
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
319
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
320
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
324
321
  font-size: 1.3em;
325
322
  }
326
- .swagger-ui-wrap table.fullwidth {
323
+ .swagger-section .swagger-ui-wrap table.fullwidth {
327
324
  width: 100%;
328
325
  }
329
- .swagger-ui-wrap .model-signature {
326
+ .swagger-section .swagger-ui-wrap .model-signature {
330
327
  font-family: "Droid Sans", sans-serif;
331
328
  font-size: 1em;
332
329
  line-height: 1.5em;
333
330
  }
334
- .swagger-ui-wrap .model-signature .signature-nav a {
331
+ .swagger-section .swagger-ui-wrap .model-signature .signature-nav a {
335
332
  text-decoration: none;
336
333
  color: #AAA;
337
334
  }
338
- .swagger-ui-wrap .model-signature .signature-nav a:hover {
335
+ .swagger-section .swagger-ui-wrap .model-signature .signature-nav a:hover {
339
336
  text-decoration: underline;
340
337
  color: black;
341
338
  }
342
- .swagger-ui-wrap .model-signature .signature-nav .selected {
339
+ .swagger-section .swagger-ui-wrap .model-signature .signature-nav .selected {
343
340
  color: black;
344
341
  text-decoration: none;
345
342
  }
346
- .swagger-ui-wrap .model-signature .propType {
343
+ .swagger-section .swagger-ui-wrap .model-signature .propType {
347
344
  color: #5555aa;
348
345
  }
349
- .swagger-ui-wrap .model-signature pre:hover {
346
+ .swagger-section .swagger-ui-wrap .model-signature pre:hover {
350
347
  background-color: #ffffdd;
351
348
  }
352
- .swagger-ui-wrap .model-signature pre {
349
+ .swagger-section .swagger-ui-wrap .model-signature pre {
353
350
  font-size: .85em;
354
351
  line-height: 1.2em;
355
352
  overflow: auto;
356
353
  max-height: 200px;
357
354
  cursor: pointer;
358
355
  }
359
- .swagger-ui-wrap .model-signature ul.signature-nav {
356
+ .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav {
360
357
  display: block;
361
358
  margin: 0;
362
359
  padding: 0;
363
360
  }
364
- .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
361
+ .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
365
362
  padding-right: 0;
366
363
  border-right: none;
367
364
  }
368
- .swagger-ui-wrap .model-signature ul.signature-nav li {
365
+ .swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li {
369
366
  float: left;
370
367
  margin: 0 5px 5px 0;
371
368
  padding: 2px 5px 2px 0;
372
369
  border-right: 1px solid #ddd;
373
370
  }
374
- .swagger-ui-wrap .model-signature .propOpt {
371
+ .swagger-section .swagger-ui-wrap .model-signature .propOpt {
375
372
  color: #555;
376
373
  }
377
- .swagger-ui-wrap .model-signature .snippet small {
374
+ .swagger-section .swagger-ui-wrap .model-signature .snippet small {
378
375
  font-size: 0.75em;
379
376
  }
380
- .swagger-ui-wrap .model-signature .propOptKey {
377
+ .swagger-section .swagger-ui-wrap .model-signature .propOptKey {
381
378
  font-style: italic;
382
379
  }
383
- .swagger-ui-wrap .model-signature .description .strong {
380
+ .swagger-section .swagger-ui-wrap .model-signature .description .strong {
384
381
  font-weight: bold;
385
382
  color: #000;
386
383
  font-size: .9em;
387
384
  }
388
- .swagger-ui-wrap .model-signature .description div {
385
+ .swagger-section .swagger-ui-wrap .model-signature .description div {
389
386
  font-size: 0.9em;
390
387
  line-height: 1.5em;
391
388
  margin-left: 1em;
392
389
  }
393
- .swagger-ui-wrap .model-signature .description .stronger {
390
+ .swagger-section .swagger-ui-wrap .model-signature .description .stronger {
394
391
  font-weight: bold;
395
392
  color: #000;
396
393
  }
397
- .swagger-ui-wrap .model-signature .propName {
394
+ .swagger-section .swagger-ui-wrap .model-signature .propName {
398
395
  font-weight: bold;
399
396
  }
400
- .swagger-ui-wrap .model-signature .signature-container {
397
+ .swagger-section .swagger-ui-wrap .model-signature .signature-container {
401
398
  clear: both;
402
399
  }
403
- .swagger-ui-wrap .body-textarea {
400
+ .swagger-section .swagger-ui-wrap .body-textarea {
404
401
  width: 300px;
405
402
  height: 100px;
406
403
  border: 1px solid #aaa;
407
404
  }
408
- .swagger-ui-wrap .markdown p code,
409
- .swagger-ui-wrap .markdown li code {
405
+ .swagger-section .swagger-ui-wrap .markdown p code,
406
+ .swagger-section .swagger-ui-wrap .markdown li code {
410
407
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
411
408
  background-color: #f0f0f0;
412
409
  color: black;
413
410
  padding: 1px 3px;
414
411
  }
415
- .swagger-ui-wrap .required {
412
+ .swagger-section .swagger-ui-wrap .required {
416
413
  font-weight: bold;
417
414
  }
418
- .swagger-ui-wrap input.parameter {
415
+ .swagger-section .swagger-ui-wrap input.parameter {
419
416
  width: 300px;
420
417
  border: 1px solid #aaa;
421
418
  }
422
- .swagger-ui-wrap h1 {
419
+ .swagger-section .swagger-ui-wrap h1 {
423
420
  color: black;
424
421
  font-size: 1.5em;
425
422
  line-height: 1.3em;
@@ -427,13 +424,13 @@ table {
427
424
  font-family: "Droid Sans", sans-serif;
428
425
  font-weight: bold;
429
426
  }
430
- .swagger-ui-wrap .heading_with_menu {
427
+ .swagger-section .swagger-ui-wrap .heading_with_menu {
431
428
  float: none;
432
429
  clear: both;
433
430
  overflow: hidden;
434
431
  display: block;
435
432
  }
436
- .swagger-ui-wrap .heading_with_menu ul {
433
+ .swagger-section .swagger-ui-wrap .heading_with_menu ul {
437
434
  display: block;
438
435
  clear: none;
439
436
  float: right;
@@ -443,142 +440,142 @@ table {
443
440
  box-sizing: border-box;
444
441
  margin-top: 10px;
445
442
  }
446
- .swagger-ui-wrap h2 {
443
+ .swagger-section .swagger-ui-wrap h2 {
447
444
  color: black;
448
445
  font-size: 1.3em;
449
446
  padding: 10px 0 10px 0;
450
447
  }
451
- .swagger-ui-wrap h2 a {
448
+ .swagger-section .swagger-ui-wrap h2 a {
452
449
  color: black;
453
450
  }
454
- .swagger-ui-wrap h2 span.sub {
451
+ .swagger-section .swagger-ui-wrap h2 span.sub {
455
452
  font-size: 0.7em;
456
453
  color: #999999;
457
454
  font-style: italic;
458
455
  }
459
- .swagger-ui-wrap h2 span.sub a {
456
+ .swagger-section .swagger-ui-wrap h2 span.sub a {
460
457
  color: #777777;
461
458
  }
462
- .swagger-ui-wrap span.weak {
459
+ .swagger-section .swagger-ui-wrap span.weak {
463
460
  color: #666666;
464
461
  }
465
- .swagger-ui-wrap .message-success {
462
+ .swagger-section .swagger-ui-wrap .message-success {
466
463
  color: #89BF04;
467
464
  }
468
- .swagger-ui-wrap caption,
469
- .swagger-ui-wrap th,
470
- .swagger-ui-wrap td {
465
+ .swagger-section .swagger-ui-wrap caption,
466
+ .swagger-section .swagger-ui-wrap th,
467
+ .swagger-section .swagger-ui-wrap td {
471
468
  text-align: left;
472
469
  font-weight: normal;
473
470
  vertical-align: middle;
474
471
  }
475
- .swagger-ui-wrap .code {
472
+ .swagger-section .swagger-ui-wrap .code {
476
473
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
477
474
  }
478
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
475
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
479
476
  font-family: "Droid Sans", sans-serif;
480
477
  height: 250px;
481
478
  padding: 4px;
482
479
  display: block;
483
480
  clear: both;
484
481
  }
485
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
482
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
486
483
  display: block;
487
484
  clear: both;
488
485
  }
489
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
486
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
490
487
  float: none;
491
488
  clear: both;
492
489
  overflow: hidden;
493
490
  display: block;
494
491
  }
495
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
492
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
496
493
  display: block;
497
494
  float: left;
498
495
  clear: none;
499
496
  margin: 0;
500
497
  padding: 0;
501
498
  }
502
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
499
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
503
500
  display: block;
504
501
  float: left;
505
502
  clear: none;
506
503
  margin: 0 5px 0 0;
507
504
  }
508
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
505
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
509
506
  color: black;
510
507
  }
511
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
508
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
512
509
  display: block;
513
510
  clear: both;
514
511
  width: auto;
515
512
  padding: 0 0 3px;
516
513
  color: #666666;
517
514
  }
518
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
515
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
519
516
  padding-left: 3px;
520
517
  color: #888888;
521
518
  }
522
- .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
519
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
523
520
  margin-left: 0;
524
521
  font-style: italic;
525
522
  font-size: 0.9em;
526
523
  margin: 0;
527
524
  }
528
- .swagger-ui-wrap form.formtastic fieldset.buttons {
525
+ .swagger-section .swagger-ui-wrap form.formtastic fieldset.buttons {
529
526
  margin: 0;
530
527
  padding: 0;
531
528
  }
532
- .swagger-ui-wrap span.blank,
533
- .swagger-ui-wrap span.empty {
529
+ .swagger-section .swagger-ui-wrap span.blank,
530
+ .swagger-section .swagger-ui-wrap span.empty {
534
531
  color: #888888;
535
532
  font-style: italic;
536
533
  }
537
- .swagger-ui-wrap .markdown h3 {
534
+ .swagger-section .swagger-ui-wrap .markdown h3 {
538
535
  color: #547f00;
539
536
  }
540
- .swagger-ui-wrap .markdown h4 {
537
+ .swagger-section .swagger-ui-wrap .markdown h4 {
541
538
  color: #666666;
542
539
  }
543
- .swagger-ui-wrap .markdown pre {
540
+ .swagger-section .swagger-ui-wrap .markdown pre {
544
541
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
545
542
  background-color: #fcf6db;
546
543
  border: 1px solid #e5e0c6;
547
544
  padding: 10px;
548
545
  margin: 0 0 10px 0;
549
546
  }
550
- .swagger-ui-wrap .markdown pre code {
547
+ .swagger-section .swagger-ui-wrap .markdown pre code {
551
548
  line-height: 1.6em;
552
549
  }
553
- .swagger-ui-wrap div.gist {
550
+ .swagger-section .swagger-ui-wrap div.gist {
554
551
  margin: 20px 0 25px 0 !important;
555
552
  }
556
- .swagger-ui-wrap ul#resources {
553
+ .swagger-section .swagger-ui-wrap ul#resources {
557
554
  font-family: "Droid Sans", sans-serif;
558
555
  font-size: 0.9em;
559
556
  }
560
- .swagger-ui-wrap ul#resources li.resource {
557
+ .swagger-section .swagger-ui-wrap ul#resources li.resource {
561
558
  border-bottom: 1px solid #dddddd;
562
559
  }
563
- .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
564
- .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
560
+ .swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
561
+ .swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
565
562
  color: black;
566
563
  }
567
- .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
568
- .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
564
+ .swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
565
+ .swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
569
566
  color: #555555;
570
567
  }
571
- .swagger-ui-wrap ul#resources li.resource:last-child {
568
+ .swagger-section .swagger-ui-wrap ul#resources li.resource:last-child {
572
569
  border-bottom: none;
573
570
  }
574
- .swagger-ui-wrap ul#resources li.resource div.heading {
571
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading {
575
572
  border: 1px solid transparent;
576
573
  float: none;
577
574
  clear: both;
578
575
  overflow: hidden;
579
576
  display: block;
580
577
  }
581
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
578
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
582
579
  overflow: hidden;
583
580
  padding: 0;
584
581
  display: block;
@@ -586,7 +583,7 @@ table {
586
583
  float: right;
587
584
  margin: 14px 10px 0 0;
588
585
  }
589
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
586
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
590
587
  float: left;
591
588
  clear: none;
592
589
  margin: 0;
@@ -595,33 +592,33 @@ table {
595
592
  color: #666666;
596
593
  font-size: 0.9em;
597
594
  }
598
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
595
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
599
596
  color: #aaaaaa;
600
597
  text-decoration: none;
601
598
  }
602
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
599
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
603
600
  text-decoration: underline;
604
601
  color: black;
605
602
  }
606
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
607
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
608
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
603
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
604
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
605
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
609
606
  text-decoration: underline;
610
607
  }
611
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
612
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
608
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
609
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
613
610
  padding-left: 0;
614
611
  }
615
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
616
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
612
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
613
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
617
614
  padding-right: 0;
618
615
  border-right: none;
619
616
  }
620
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
621
- .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
617
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
618
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
622
619
  padding-left: 0;
623
620
  }
624
- .swagger-ui-wrap ul#resources li.resource div.heading h2 {
621
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
625
622
  color: #999999;
626
623
  padding-left: 0;
627
624
  display: block;
@@ -630,13 +627,13 @@ table {
630
627
  font-family: "Droid Sans", sans-serif;
631
628
  font-weight: bold;
632
629
  }
633
- .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
630
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
634
631
  color: #999999;
635
632
  }
636
- .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
633
+ .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
637
634
  color: black;
638
635
  }
639
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
636
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
640
637
  float: none;
641
638
  clear: both;
642
639
  overflow: hidden;
@@ -644,7 +641,7 @@ table {
644
641
  margin: 0 0 10px;
645
642
  padding: 0;
646
643
  }
647
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
644
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
648
645
  float: none;
649
646
  clear: both;
650
647
  overflow: hidden;
@@ -652,7 +649,7 @@ table {
652
649
  margin: 0;
653
650
  padding: 0;
654
651
  }
655
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
652
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
656
653
  display: block;
657
654
  clear: none;
658
655
  float: left;
@@ -662,17 +659,17 @@ table {
662
659
  line-height: 1.1em;
663
660
  color: black;
664
661
  }
665
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
662
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
666
663
  padding-left: 10px;
667
664
  }
668
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
665
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
669
666
  color: black;
670
667
  text-decoration: none;
671
668
  }
672
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
669
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
673
670
  text-decoration: underline;
674
671
  }
675
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
672
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
676
673
  text-transform: uppercase;
677
674
  text-decoration: none;
678
675
  color: white;
@@ -688,11 +685,11 @@ table {
688
685
  -khtml-border-radius: 2px;
689
686
  border-radius: 2px;
690
687
  }
691
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
688
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
692
689
  margin: 0;
693
690
  padding: 0;
694
691
  }
695
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
692
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
696
693
  overflow: hidden;
697
694
  padding: 0;
698
695
  display: block;
@@ -700,17 +697,20 @@ table {
700
697
  float: right;
701
698
  margin: 6px 10px 0 0;
702
699
  }
703
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
700
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
704
701
  float: left;
705
702
  clear: none;
706
703
  margin: 0;
707
704
  padding: 2px 10px;
708
705
  font-size: 0.9em;
709
706
  }
710
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
707
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
711
708
  text-decoration: none;
712
709
  }
713
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
710
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li.access {
711
+ color: black;
712
+ }
713
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
714
714
  border-top: none;
715
715
  padding: 10px;
716
716
  -moz-border-radius-bottomleft: 6px;
@@ -727,235 +727,263 @@ table {
727
727
  border-bottom-right-radius: 6px;
728
728
  margin: 0 0 20px;
729
729
  }
730
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
730
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
731
731
  font-size: 1.1em;
732
732
  margin: 0;
733
733
  padding: 15px 0 5px;
734
734
  }
735
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
735
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
736
736
  float: none;
737
737
  clear: both;
738
738
  overflow: hidden;
739
739
  display: block;
740
740
  }
741
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
741
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
742
742
  padding: 4px 0 0 10px;
743
743
  display: inline-block;
744
744
  font-size: 0.9em;
745
745
  }
746
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header img {
746
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
747
747
  display: block;
748
748
  clear: none;
749
- float: right;
749
+ float: left;
750
+ padding: 6px 8px;
750
751
  }
751
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
752
+ .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 {
753
+ background-image: url(<%= image_path('grape_swagger_rails/throbber.gif') %>);
754
+ width: 128px;
755
+ height: 16px;
752
756
  display: block;
753
757
  clear: none;
754
- float: left;
755
- padding: 6px 8px;
758
+ float: right;
756
759
  }
757
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
760
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
758
761
  outline: 2px solid black;
759
762
  outline-color: #cc0000;
760
763
  }
761
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
764
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
762
765
  font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
763
766
  padding: 10px;
764
767
  font-size: 0.9em;
765
768
  max-height: 400px;
766
769
  overflow-y: auto;
767
770
  }
768
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
771
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
769
772
  background-color: #f9f2e9;
770
773
  border: 1px solid #f0e0ca;
771
774
  }
772
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
775
+ .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 {
773
776
  background-color: #c5862b;
774
777
  }
775
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
778
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
776
779
  border-right: 1px solid #dddddd;
777
780
  border-right-color: #f0e0ca;
778
781
  color: #c5862b;
779
782
  }
780
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
783
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
781
784
  color: #c5862b;
782
785
  }
783
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
786
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
784
787
  background-color: #faf5ee;
785
788
  border: 1px solid #f0e0ca;
786
789
  }
787
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
790
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
788
791
  color: #c5862b;
789
792
  }
790
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
793
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
791
794
  color: #dcb67f;
792
795
  }
793
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
796
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
794
797
  background-color: #fcffcd;
795
798
  border: 1px solid black;
796
799
  border-color: #ffd20f;
797
800
  }
798
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
801
+ .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 {
799
802
  text-transform: uppercase;
800
803
  background-color: #ffd20f;
801
804
  }
802
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
805
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
803
806
  border-right: 1px solid #dddddd;
804
807
  border-right-color: #ffd20f;
805
808
  color: #ffd20f;
806
809
  }
807
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
810
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
808
811
  color: #ffd20f;
809
812
  }
810
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
813
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
811
814
  background-color: #fcffcd;
812
815
  border: 1px solid black;
813
816
  border-color: #ffd20f;
814
817
  }
815
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
818
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
816
819
  color: #ffd20f;
817
820
  }
818
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
821
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
819
822
  color: #6fc992;
820
823
  }
821
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
824
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
822
825
  background-color: #f5e8e8;
823
826
  border: 1px solid #e8c6c7;
824
827
  }
825
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
828
+ .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 {
826
829
  text-transform: uppercase;
827
830
  background-color: #a41e22;
828
831
  }
829
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
832
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
830
833
  border-right: 1px solid #dddddd;
831
834
  border-right-color: #e8c6c7;
832
835
  color: #a41e22;
833
836
  }
834
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
837
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
835
838
  color: #a41e22;
836
839
  }
837
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
840
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
838
841
  background-color: #f7eded;
839
842
  border: 1px solid #e8c6c7;
840
843
  }
841
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
844
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
842
845
  color: #a41e22;
843
846
  }
844
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
847
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
845
848
  color: #c8787a;
846
849
  }
847
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
850
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
848
851
  background-color: #e7f6ec;
849
852
  border: 1px solid #c3e8d1;
850
853
  }
851
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
854
+ .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 {
852
855
  background-color: #10a54a;
853
856
  }
854
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
857
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
855
858
  border-right: 1px solid #dddddd;
856
859
  border-right-color: #c3e8d1;
857
860
  color: #10a54a;
858
861
  }
859
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
862
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
860
863
  color: #10a54a;
861
864
  }
862
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
865
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
863
866
  background-color: #ebf7f0;
864
867
  border: 1px solid #c3e8d1;
865
868
  }
866
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
869
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
867
870
  color: #10a54a;
868
871
  }
869
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
872
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
870
873
  color: #6fc992;
871
874
  }
872
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
875
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
873
876
  background-color: #FCE9E3;
874
877
  border: 1px solid #F5D5C3;
875
878
  }
876
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
879
+ .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 {
877
880
  background-color: #D38042;
878
881
  }
879
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
882
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
880
883
  border-right: 1px solid #dddddd;
881
884
  border-right-color: #f0cecb;
882
885
  color: #D38042;
883
886
  }
884
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
887
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
885
888
  color: #D38042;
886
889
  }
887
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
890
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
888
891
  background-color: #faf0ef;
889
892
  border: 1px solid #f0cecb;
890
893
  }
891
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
894
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
892
895
  color: #D38042;
893
896
  }
894
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
897
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
895
898
  color: #dcb67f;
896
899
  }
897
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
900
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
901
+ background-color: #e7f0f7;
902
+ border: 1px solid #c3d9ec;
903
+ }
904
+ .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 {
905
+ background-color: #0f6ab4;
906
+ }
907
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
908
+ border-right: 1px solid #dddddd;
909
+ border-right-color: #c3d9ec;
910
+ color: #0f6ab4;
911
+ }
912
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
913
+ color: #0f6ab4;
914
+ }
915
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
916
+ background-color: #ebf3f9;
917
+ border: 1px solid #c3d9ec;
918
+ }
919
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
920
+ color: #0f6ab4;
921
+ }
922
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
923
+ color: #6fa5d2;
924
+ }
925
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading {
898
926
  background-color: #e7f0f7;
899
927
  border: 1px solid #c3d9ec;
900
928
  }
901
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
929
+ .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 {
902
930
  background-color: #0f6ab4;
903
931
  }
904
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
932
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li {
905
933
  border-right: 1px solid #dddddd;
906
934
  border-right-color: #c3d9ec;
907
935
  color: #0f6ab4;
908
936
  }
909
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
937
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li a {
910
938
  color: #0f6ab4;
911
939
  }
912
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
940
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content {
913
941
  background-color: #ebf3f9;
914
942
  border: 1px solid #c3d9ec;
915
943
  }
916
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
944
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content h4 {
917
945
  color: #0f6ab4;
918
946
  }
919
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
947
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content div.sandbox_header a {
920
948
  color: #6fa5d2;
921
949
  }
922
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
923
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
924
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
925
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
926
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
927
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
950
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
951
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
952
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
953
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
954
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
955
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
928
956
  border-top: none;
929
957
  }
930
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
931
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
932
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
933
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
934
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
935
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
936
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
937
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
938
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
939
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
940
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
941
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
958
+ .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,
959
+ .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,
960
+ .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,
961
+ .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,
962
+ .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,
963
+ .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,
964
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
965
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
966
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
967
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
968
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
969
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
942
970
  padding-right: 0;
943
971
  border-right: none;
944
972
  }
945
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
946
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
947
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
973
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
974
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
975
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
948
976
  text-decoration: underline;
949
977
  }
950
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
951
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
978
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
979
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
952
980
  padding-left: 0;
953
981
  }
954
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
955
- .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
982
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
983
+ .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
956
984
  padding-left: 0;
957
985
  }
958
- .swagger-ui-wrap p#colophon {
986
+ .swagger-section .swagger-ui-wrap p#colophon {
959
987
  margin: 0 15px 40px 15px;
960
988
  padding: 10px 0;
961
989
  font-size: 0.8em;
@@ -964,53 +992,179 @@ table {
964
992
  color: #999999;
965
993
  font-style: italic;
966
994
  }
967
- .swagger-ui-wrap p#colophon a {
995
+ .swagger-section .swagger-ui-wrap p#colophon a {
968
996
  text-decoration: none;
969
997
  color: #547f00;
970
998
  }
971
- .swagger-ui-wrap h3 {
999
+ .swagger-section .swagger-ui-wrap h3 {
972
1000
  color: black;
973
1001
  font-size: 1.1em;
974
1002
  padding: 10px 0 10px 0;
975
1003
  }
976
- .swagger-ui-wrap .markdown ol,
977
- .swagger-ui-wrap .markdown ul {
1004
+ .swagger-section .swagger-ui-wrap .markdown ol,
1005
+ .swagger-section .swagger-ui-wrap .markdown ul {
978
1006
  font-family: "Droid Sans", sans-serif;
979
1007
  margin: 5px 0 10px;
980
1008
  padding: 0 0 0 18px;
981
1009
  list-style-type: disc;
982
1010
  }
983
- .swagger-ui-wrap form.form_box {
1011
+ .swagger-section .swagger-ui-wrap form.form_box {
984
1012
  background-color: #ebf3f9;
985
1013
  border: 1px solid #c3d9ec;
986
1014
  padding: 10px;
987
1015
  }
988
- .swagger-ui-wrap form.form_box label {
1016
+ .swagger-section .swagger-ui-wrap form.form_box label {
989
1017
  color: #0f6ab4 !important;
990
1018
  }
991
- .swagger-ui-wrap form.form_box input[type=submit] {
1019
+ .swagger-section .swagger-ui-wrap form.form_box input[type=submit] {
992
1020
  display: block;
993
1021
  padding: 10px;
994
1022
  }
995
- .swagger-ui-wrap form.form_box p.weak {
1023
+ .swagger-section .swagger-ui-wrap form.form_box p.weak {
996
1024
  font-size: 0.8em;
997
1025
  }
998
- .swagger-ui-wrap form.form_box p {
1026
+ .swagger-section .swagger-ui-wrap form.form_box p {
999
1027
  font-size: 0.9em;
1000
1028
  padding: 0 0 15px;
1001
1029
  color: #7e7b6d;
1002
1030
  }
1003
- .swagger-ui-wrap form.form_box p a {
1031
+ .swagger-section .swagger-ui-wrap form.form_box p a {
1004
1032
  color: #646257;
1005
1033
  }
1006
- .swagger-ui-wrap form.form_box p strong {
1034
+ .swagger-section .swagger-ui-wrap form.form_box p strong {
1007
1035
  color: black;
1008
1036
  }
1009
- #header {
1037
+ .swagger-section .title {
1038
+ font-style: bold;
1039
+ }
1040
+ .swagger-section .secondary_form {
1041
+ display: none;
1042
+ }
1043
+ .swagger-section .main_image {
1044
+ display: block;
1045
+ margin-left: auto;
1046
+ margin-right: auto;
1047
+ }
1048
+ .swagger-section .oauth_body {
1049
+ margin-left: 100px;
1050
+ margin-right: 100px;
1051
+ }
1052
+ .swagger-section .oauth_submit {
1053
+ text-align: center;
1054
+ }
1055
+ .swagger-section .api-popup-dialog {
1056
+ z-index: 10000;
1057
+ position: absolute;
1058
+ width: 500px;
1059
+ background: #FFF;
1060
+ padding: 20px;
1061
+ border: 1px solid #ccc;
1062
+ border-radius: 5px;
1063
+ display: none;
1064
+ font-size: 13px;
1065
+ color: #777;
1066
+ }
1067
+ .swagger-section .api-popup-dialog .api-popup-title {
1068
+ font-size: 24px;
1069
+ padding: 10px 0;
1070
+ }
1071
+ .swagger-section .api-popup-dialog .api-popup-title {
1072
+ font-size: 24px;
1073
+ padding: 10px 0;
1074
+ }
1075
+ .swagger-section .api-popup-dialog p.error-msg {
1076
+ padding-left: 5px;
1077
+ padding-bottom: 5px;
1078
+ }
1079
+ .swagger-section .api-popup-dialog button.api-popup-authbtn {
1080
+ height: 30px;
1081
+ }
1082
+ .swagger-section .api-popup-dialog button.api-popup-cancel {
1083
+ height: 30px;
1084
+ }
1085
+ .swagger-section .api-popup-scopes {
1086
+ padding: 10px 20px;
1087
+ }
1088
+ .swagger-section .api-popup-scopes li {
1089
+ padding: 5px 0;
1090
+ line-height: 20px;
1091
+ }
1092
+ .swagger-section .api-popup-scopes .api-scope-desc {
1093
+ padding-left: 20px;
1094
+ font-style: italic;
1095
+ }
1096
+ .swagger-section .api-popup-scopes li input {
1097
+ position: relative;
1098
+ top: 2px;
1099
+ }
1100
+ .swagger-section .api-popup-actions {
1101
+ padding-top: 10px;
1102
+ }
1103
+ .swagger-section .access {
1104
+ float: right;
1105
+ }
1106
+ .swagger-section .auth {
1107
+ float: right;
1108
+ }
1109
+ .swagger-section #api_information_panel {
1110
+ position: absolute;
1111
+ background: #FFF;
1112
+ border: 1px solid #ccc;
1113
+ border-radius: 5px;
1114
+ display: none;
1115
+ font-size: 13px;
1116
+ max-width: 300px;
1117
+ line-height: 30px;
1118
+ color: black;
1119
+ padding: 5px;
1120
+ }
1121
+ .swagger-section #api_information_panel p .api-msg-enabled {
1122
+ color: green;
1123
+ }
1124
+ .swagger-section #api_information_panel p .api-msg-disabled {
1125
+ color: red;
1126
+ }
1127
+ .swagger-section .api-ic {
1128
+ height: 18px;
1129
+ vertical-align: middle;
1130
+ display: inline-block;
1131
+ background: url(<%= image_path('grape_swagger_rails/explorer_icons.png') %>) no-repeat;
1132
+ }
1133
+ .swagger-section .ic-info {
1134
+ background-position: 0 0;
1135
+ width: 18px;
1136
+ margin-top: -7px;
1137
+ margin-left: 4px;
1138
+ }
1139
+ .swagger-section .ic-warning {
1140
+ background-position: -60px 0;
1141
+ width: 18px;
1142
+ margin-top: -7px;
1143
+ margin-left: 4px;
1144
+ }
1145
+ .swagger-section .ic-error {
1146
+ background-position: -30px 0;
1147
+ width: 18px;
1148
+ margin-top: -7px;
1149
+ margin-left: 4px;
1150
+ }
1151
+ .swagger-section .ic-off {
1152
+ background-position: -90px 0;
1153
+ width: 58px;
1154
+ margin-top: -4px;
1155
+ cursor: pointer;
1156
+ }
1157
+ .swagger-section .ic-on {
1158
+ background-position: -160px 0;
1159
+ width: 58px;
1160
+ margin-top: -4px;
1161
+ cursor: pointer;
1162
+ }
1163
+ .swagger-section #header {
1010
1164
  background-color: #89bf04;
1011
1165
  padding: 14px;
1012
1166
  }
1013
- #header a#logo {
1167
+ .swagger-section #header a#logo {
1014
1168
  font-size: 1.5em;
1015
1169
  font-weight: bold;
1016
1170
  text-decoration: none;
@@ -1018,24 +1172,24 @@ table {
1018
1172
  padding: 20px 0 20px 40px;
1019
1173
  color: white;
1020
1174
  }
1021
- #header form#api_selector {
1175
+ .swagger-section #header form#api_selector {
1022
1176
  display: block;
1023
1177
  clear: none;
1024
1178
  float: right;
1025
1179
  }
1026
- #header form#api_selector .input {
1180
+ .swagger-section #header form#api_selector .input {
1027
1181
  display: block;
1028
1182
  clear: none;
1029
1183
  float: left;
1030
1184
  margin: 0 10px 0 0;
1031
1185
  }
1032
- #header form#api_selector .input input#input_apiKey {
1186
+ .swagger-section #header form#api_selector .input input#input_apiKey {
1033
1187
  width: 200px;
1034
1188
  }
1035
- #header form#api_selector .input input#input_baseUrl {
1189
+ .swagger-section #header form#api_selector .input input#input_baseUrl {
1036
1190
  width: 400px;
1037
1191
  }
1038
- #header form#api_selector .input a#explore {
1192
+ .swagger-section #header form#api_selector .input a#explore {
1039
1193
  display: block;
1040
1194
  text-decoration: none;
1041
1195
  font-weight: bold;
@@ -1050,20 +1204,20 @@ table {
1050
1204
  -khtml-border-radius: 4px;
1051
1205
  border-radius: 4px;
1052
1206
  }
1053
- #header form#api_selector .input a#explore:hover {
1207
+ .swagger-section #header form#api_selector .input a#explore:hover {
1054
1208
  background-color: #547f00;
1055
1209
  }
1056
- #header form#api_selector .input input {
1210
+ .swagger-section #header form#api_selector .input input {
1057
1211
  font-size: 0.9em;
1058
1212
  padding: 3px;
1059
1213
  margin: 0;
1060
1214
  }
1061
- #content_message {
1215
+ .swagger-section #content_message {
1062
1216
  margin: 10px 15px;
1063
1217
  font-style: italic;
1064
1218
  color: #999999;
1065
1219
  }
1066
- #message-bar {
1220
+ .swagger-section #message-bar {
1067
1221
  min-height: 30px;
1068
1222
  text-align: center;
1069
1223
  padding-top: 10px;