nexmo-oas-renderer 0.11.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +135 -0
  3. data/.travis.yml +1 -0
  4. data/CHANGELOG.md +12 -0
  5. data/Gemfile +2 -2
  6. data/Gemfile.lock +92 -72
  7. data/README.md +8 -0
  8. data/Rakefile +2 -2
  9. data/bin/console +3 -3
  10. data/lib/nexmo/oas/engine.rb +2 -0
  11. data/lib/nexmo/oas/renderer.rb +5 -5
  12. data/lib/nexmo/oas/renderer/app.rb +71 -46
  13. data/lib/nexmo/oas/renderer/config.ru +4 -2
  14. data/lib/nexmo/oas/renderer/decorators/response_parser_decorator.rb +18 -18
  15. data/lib/nexmo/oas/renderer/helpers/navigation.rb +2 -2
  16. data/lib/nexmo/oas/renderer/helpers/render.rb +2 -1
  17. data/lib/nexmo/oas/renderer/helpers/summary.rb +4 -1
  18. data/lib/nexmo/oas/renderer/helpers/url.rb +2 -0
  19. data/lib/nexmo/oas/renderer/presenters/api_specification.rb +2 -1
  20. data/lib/nexmo/oas/renderer/presenters/endpoint.rb +2 -0
  21. data/lib/nexmo/oas/renderer/presenters/groups.rb +4 -0
  22. data/lib/nexmo/oas/renderer/presenters/navigation.rb +2 -0
  23. data/lib/nexmo/oas/renderer/presenters/open_api_specification.rb +5 -2
  24. data/lib/nexmo/oas/renderer/presenters/request_body_raw.rb +141 -0
  25. data/lib/nexmo/oas/renderer/presenters/response_format.rb +4 -2
  26. data/lib/nexmo/oas/renderer/presenters/response_tab/link.rb +3 -0
  27. data/lib/nexmo/oas/renderer/presenters/response_tab/panel.rb +8 -5
  28. data/lib/nexmo/oas/renderer/presenters/response_tabs.rb +6 -2
  29. data/lib/nexmo/oas/renderer/presenters/versions.rb +11 -10
  30. data/lib/nexmo/oas/renderer/public/assets/javascripts/components/format.js +12 -7
  31. data/lib/nexmo/oas/renderer/public/assets/javascripts/nexmo-oas-renderer.js +51 -24
  32. data/lib/nexmo/oas/renderer/public/assets/javascripts/popper.min.js +5 -0
  33. data/lib/nexmo/oas/renderer/public/assets/javascripts/tooltip.min.js +5 -0
  34. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.accordion.js +301 -243
  35. data/lib/nexmo/oas/renderer/public/assets/javascripts/volta.tooltip.js +76 -0
  36. data/lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo-oas-renderer.css +255 -823
  37. data/lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo-oas-renderer.css.map +2 -2
  38. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss +287 -90
  39. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/style.scss +2 -6
  40. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/themes/dark.scss +89 -0
  41. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/themes/light.scss +68 -0
  42. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-prism.min.css +1 -1
  43. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta.min.css +1 -1
  44. data/lib/nexmo/oas/renderer/services/oas_parser.rb +2 -0
  45. data/lib/nexmo/oas/renderer/services/open_api_definition_resolver.rb +3 -1
  46. data/lib/nexmo/oas/renderer/version.rb +3 -1
  47. data/lib/nexmo/oas/renderer/views/layouts/_head.erb +1 -0
  48. data/lib/nexmo/oas/renderer/views/layouts/_javascripts.erb +5 -4
  49. data/lib/nexmo/oas/renderer/views/layouts/open_api.erb +3 -1
  50. data/lib/nexmo/oas/renderer/views/open_api/_auth.erb +74 -0
  51. data/lib/nexmo/oas/renderer/views/open_api/_available_endpoints.erb +25 -0
  52. data/lib/nexmo/oas/renderer/views/open_api/_callback_endpoint.erb +18 -27
  53. data/lib/nexmo/oas/renderer/views/open_api/_callbacks.erb +5 -0
  54. data/lib/nexmo/oas/renderer/views/open_api/_endpoint.erb +39 -124
  55. data/lib/nexmo/oas/renderer/views/open_api/_header.erb +71 -0
  56. data/lib/nexmo/oas/renderer/views/open_api/_model.erb +31 -26
  57. data/lib/nexmo/oas/renderer/views/open_api/_navigation.erb +54 -78
  58. data/lib/nexmo/oas/renderer/views/open_api/_parameter_groups.erb +2 -5
  59. data/lib/nexmo/oas/renderer/views/open_api/_parameters.erb +98 -153
  60. data/lib/nexmo/oas/renderer/views/open_api/_request_json.erb +4 -0
  61. data/lib/nexmo/oas/renderer/views/open_api/_request_one_of.erb +70 -0
  62. data/lib/nexmo/oas/renderer/views/open_api/_request_single.erb +53 -0
  63. data/lib/nexmo/oas/renderer/views/open_api/_requests.erb +22 -0
  64. data/lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb +88 -90
  65. data/lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb +17 -12
  66. data/lib/nexmo/oas/renderer/views/open_api/_response_fields.erb +1 -16
  67. data/lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb +2 -2
  68. data/lib/nexmo/oas/renderer/views/open_api/_responses.erb +35 -0
  69. data/lib/nexmo/oas/renderer/views/open_api/_tabbed_parameters.erb +15 -4
  70. data/lib/nexmo/oas/renderer/views/open_api/_tabbed_single_parameter.erb +56 -0
  71. data/lib/nexmo/oas/renderer/views/open_api/_webhooks.erb +30 -0
  72. data/lib/nexmo/oas/renderer/views/open_api/show.erb +10 -115
  73. data/nexmo-oas-renderer.gemspec +26 -26
  74. metadata +61 -49
  75. data/lib/nexmo/oas/renderer/public/assets/javascripts/components/scroll.js +0 -21
  76. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss +0 -137
  77. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/navigation.scss +0 -102
  78. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/nexmo.scss +0 -61
  79. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/syntax.scss +0 -63
  80. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/typography.scss +0 -248
  81. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/volta-templates.scss +0 -119
@@ -1,7 +1,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yB;MAErB,WAAW,EAAE,IAAI;EAIrB,6BAAsB;IACpB,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,MAAM;IAEvB,yCAAkB;MALpB,6BAAsB;QAMlB,WAAW,EAAE,KAAK;EAKpB,yCAAkB;IADpB,qDAA+C;MAE3C,WAAW,EAAE,KAAK;EAItB,kBAAW;IACT,UAAU,EAAE,mBAAmB;IAC/B,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,MAAM;IAElB,yCAAkB;MANpB,kBAAW;QAOP,UAAU,EAAE,mBAAmB;;AAOnC,yCAAkB;EAFpB;iCACgC;IAE5B,MAAM,EAAE,kBAAkB",
4
- "sources": ["sass/nexmo.scss","sass/variables.scss","sass/mediaqueries.scss","sass/api.scss","sass/core.scss","sass/navigation.scss","sass/syntax.scss","sass/typography.scss","sass/volta-templates.scss"],
3
+ "mappings": "AAgBC,yCAAkB;EADnB,WAAY;IAEV,OAAO,EAAE,eAAe;;AAKzB,yCAAkB;EADnB,WAAY;IAEV,OAAO,EAAE,eAAe;AAGzB,yCAAkB;EALnB,WAAY;IAMV,OAAO,EAAE,eAAe;;AAKzB,yCAAkB;EADnB,WAAY;IAEV,OAAO,EAAE,eAAe;;AAKzB,yCAAkB;EADnB,WAAY;IAEV,OAAO,EAAE,eAAe;;AAKzB,yCAAkB;EADnB,WAAY;IAEV,OAAO,EAAE,eAAe;;AC5CxB,gCAAuB;EACrB,aAAa,EAAE,CAAC;AAGlB,sBAAa;EACX,UAAU,EAAE,CAAC;EACb,kCAAY;IACV,QAAQ,EAAE,MAAM;IAChB,MAAM,EAAE,IAAI;IAEZ,uDAAqB;MACnB,WAAW,EAAE,IAAI;MAEjB,8DAAO;QACL,aAAa,EAAE,IAAI;;AAQ7B,YAAa;EACX,UAAU,EAAE,IAAI;EAEhB,eAAG;IACD,UAAU,EAAE,MAAM;EAGpB,kCAAsB;IACpB,KAAK,EAAE,eAAe;I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AAE,gBAAgB;EAGrB,yDAAQ;IACN,UAAU,EAAE,gBAAgB;AAKlC,sDAA0B;EACxB,UAAU,EAAE,gBAAgB",
4
+ "sources": ["sass/mediaqueries.scss","sass/api.scss","sass/variables.scss","sass/themes/light.scss","sass/themes/dark.scss"],
5
5
  "names": [],
6
6
  "file": "nexmo-oas-renderer.css"
7
7
  }
@@ -1,144 +1,341 @@
1
- @import "./variables";
2
- @import "./mediaqueries";
1
+ .oas-page {
2
+ .Nxd-header__sub__menu {
3
+ margin-bottom: 0;
4
+ }
3
5
 
4
- .Nxd-content {
5
- display: flex;
6
- }
6
+ .oas-wrapper {
7
+ margin-top: 0;
8
+ .oas-navbar {
9
+ position: sticky;
10
+ height: 56px;
11
+
12
+ .Vlt-native-dropdown {
13
+ margin-left: auto;
14
+
15
+ select {
16
+ padding-right: 32px;
17
+ }
18
+ }
19
+ }
7
20
 
8
- .Nxd-menu__indent {
9
- margin-left: 31px !important;
21
+ }
10
22
  }
11
23
 
12
- .Nxd-method-badge {
13
- text-transform: uppercase;
24
+ .oas-wrapper {
25
+ margin-top: 50px;
14
26
 
15
- &--post {
16
- background: $green;
27
+ em {
28
+ font-style: italic;
17
29
  }
18
30
 
19
- &--get {
20
- background: $blue-dark;
31
+ .Vlt-tooltip__content {
32
+ width: auto !important;
33
+ max-width: none !important;
21
34
  }
22
35
 
23
- &--delete {
24
- background: $red;
36
+ .Nxd-content {
37
+ display: flex;
25
38
  }
26
39
 
27
- &--patch {
28
- background: $teal;
40
+ .Nxd-method-badge {
41
+ text-transform: uppercase;
29
42
  }
30
43
 
31
- &--put {
32
- background: $purple-dark;
44
+ .api-path-parameter {
45
+ color: $blue;
33
46
  }
34
- }
35
47
 
36
- .table-no-line {
37
- td {
38
- border-bottom: none !important;
48
+ .Vlt-col {
49
+ padding: 0;
39
50
  }
40
- }
41
51
 
42
- .Nxd-api {
43
- padding-top: 0;
44
- padding-right: $unit2;
52
+ .Vlt-accordion--chevron-left {
53
+ .Vlt-accordion__trigger {
54
+ &:before {
55
+ margin-right: 8px !important;
56
+ }
57
+ }
58
+ }
45
59
 
46
- @media #{$S-only} {
47
- padding-left: $unit2;
60
+ // New Layout
61
+
62
+ .oas-parameter-description {
63
+ margin-left: 16px;
48
64
  }
49
65
 
50
- &__responses {
51
- top: 30px;
52
- position: sticky;
53
- display: block;
54
- overflow: auto;
66
+ .oas-parameter-meta {
67
+ border-bottom: 1px solid #ccc;
68
+ margin-bottom: 4px;
55
69
  }
56
70
 
57
- &__code {
58
- background: $grey-light;
59
- border-bottom: 1px solid $grey-lighter;
60
- padding: $unit2;
71
+ .oas-parameter-nested {
72
+ margin-left:12px;
73
+ padding-left:12px;
74
+ border-left: 1px solid #ccc;
75
+ }
61
76
 
62
- h4,
63
- h5 {
64
- color: $grey-darker;
77
+ .oas-navbar {
78
+ position: fixed;
79
+ top: 0;
80
+ padding-left: 18px;
81
+ z-index: 100000;
82
+ width: 100vw;
83
+ display: flex;
84
+
85
+ .Vlt-native-dropdown {
86
+ height: fit-content;
87
+ margin-top: 8px;
88
+ margin-left: auto;
89
+ margin-right: 32px;
90
+ justify-content: flex-end;
65
91
  }
92
+ }
66
93
 
67
- &__header {
68
- margin: -#{$unit3} -#{$unit2} #{$unit2} -#{$unit2};
94
+ .header-row {
95
+ .Vlt-col {
96
+ padding: 0;
97
+ }
98
+ }
69
99
 
70
- .Vlt-native-dropdown {
71
- margin-right: $unit2;
72
- float: right;
73
- }
100
+ .Vlt-grid {
101
+ margin: 0 !important;
102
+ }
103
+
104
+ pre[class*=language-] code {
105
+ white-space: pre-wrap;
106
+ }
74
107
 
75
- &--sticky {
76
- position: fixed;
77
- top: 30px;
78
- width: 27.5%;
79
- z-index: 1000;
108
+ .Vlt-accordion__trigger {
109
+ width: auto;
110
+ font-size: 1.5rem;
111
+ }
80
112
 
81
- @media #{$S-only} {
82
- left: 0;
83
- padding: 0 $unit1;
84
- top: 52px;
85
- width: 100vw;
86
- margin: 0;
113
+ .oas-grid {
114
+ display: flex;
115
+ width: 100%;
116
+ flex-direction: column;
117
+ }
87
118
 
88
- }
89
- }
119
+ .oas-parameter-name {
120
+ margin-top: 8px;
121
+ }
122
+
123
+ .oas-parameter-name-nested {
124
+ b {
125
+ border-bottom: 1px dashed #ccc;
90
126
  }
127
+ }
91
128
 
92
- .Vlt-accordion__trigger {
93
- &:after {
94
- background-color: rgba($white, 0.2);
95
- border-radius: 100%;
96
- }
129
+ .oas-left-panel {
130
+ padding: 0 36px;
131
+ max-width: 51%;
132
+ width: 50%;
133
+ background: white;
134
+ }
135
+
136
+ .oas-right-panel {
137
+ font-size: 13px;
138
+ max-width:49%;
139
+ width: 49%;
140
+ padding: 0 16px;
141
+
142
+ .Vlt-tabs__header {
143
+ border:0;
144
+ padding-left: 8px;
97
145
  }
146
+
147
+ .Vlt-js-tabs__link_active {
148
+ font-weight: bold;
149
+ }
150
+ }
151
+
152
+
153
+ .response-description-toggle strong {
154
+ margin-right: 4px;
155
+ }
156
+
157
+ .response-tabs-selector {
158
+ display: flex;
159
+ margin-bottom: 12px;
160
+ flex-direction: row;
161
+ flex-wrap: wrap;
162
+ span {
163
+ padding: 6px 12px;
164
+ margin-right: 2px;
165
+ }
166
+ .response-tabs-selector-item.Vlt-js-tabs__link_active {
167
+ font-weight: normal;
168
+ }
169
+ }
170
+
171
+ .oas-path-full {
172
+ display: flex;
173
+ }
174
+
175
+
176
+ .oas-path-small, .oas-navbar-small {
177
+ display: none;
98
178
  }
99
179
 
100
- &__docs {
101
- padding-top: $unit3;
102
180
 
103
- @media #{$M-plus} {
104
- border-bottom: 1px solid $grey-light;
105
- padding-top: $unit5;
181
+ @media only screen and (max-width: 1080px) {
182
+ .Nxd-header {
183
+ display: none !important;
106
184
  }
107
185
 
108
- .Vlt-tooltip {
109
- white-space: nowrap;
186
+ .oas-navbar {
187
+ position: sticky !important;
188
+ height: auto !important;
110
189
  }
190
+
191
+ .oas-navbar-full {
192
+ display: none;
193
+ }
194
+
195
+ .oas-navbar-small {
196
+ display: flex;
197
+ }
198
+
111
199
  }
112
200
 
113
- &--noborder {
114
- margin-bottom: -$unit2;
201
+ @media only screen and (max-width: 1080px) {
202
+
203
+ .response-tabs-selector {
204
+ span {
205
+ margin-bottom: 2px;
206
+ }
207
+ }
208
+
209
+ .oas-navbar {
210
+ padding-left: 0;
211
+ .Vlt-accordion__trigger {
212
+ padding-left: 18px;
213
+ }
214
+ .Vlt-accordion__content > div {
215
+ }
216
+ }
115
217
 
116
- .Nxd-api__docs {
117
- border: 0;
218
+ .oas-path-full {
219
+ display: none;
118
220
  }
119
221
 
120
- .Nxd-api__code {
121
- border: 0;
222
+ .oas-path-small {
223
+ display: flex;
224
+ }
122
225
 
123
- @media #{$S-only} {
124
- display: none;
226
+ .oas-row {
227
+ padding-left: 0;
228
+ }
229
+
230
+ .oas-left-panel, .oas-right-panel {
231
+ min-width: 100%;
232
+ }
233
+
234
+ .oas-right-panel {
235
+ padding: 36px;
236
+ }
237
+
238
+ .oas-left-panel {
239
+ h2, h3 {
240
+ margin-top: 30px;
125
241
  }
126
242
  }
243
+
244
+ .sm-hidden {
245
+ display: none;
246
+ }
247
+
248
+ .Vlt-grid {
249
+ flex-direction: column !important;
250
+ }
251
+
252
+ .Vlt-col {
253
+ margin-top: 0px !important;
254
+ margin-bottom: 0px !important;
255
+ }
256
+
257
+ .Vlt-right-sm {
258
+ text-align: left !important;
259
+ }
260
+
127
261
  }
128
- }
129
262
 
130
263
 
131
- .Nxd-version {
132
- p {
133
- text-transform: uppercase;
134
- font-size: 1.3rem !important;
264
+ .full-background {
265
+ position: absolute;
266
+ height: 100vh;
267
+ z-index: 0;
268
+ &.oas-right-panel {
269
+ left: 51%;
270
+ }
135
271
  }
136
272
 
137
- a {
138
- font-size: 1.3rem !important;
139
- color: #005282 !important;
140
- &.active {
141
- font-weight: bold;
273
+ .oas-trigger-content {
274
+ display: none;
275
+ padding: 16px;
276
+ }
277
+
278
+ .oas-trigger {
279
+ font-size: 3rem;
280
+ display: inline-block;
281
+ width: 100%;
282
+ cursor: pointer;
283
+ padding: 12px 0;
284
+ padding-left: 16px;
285
+ border-bottom: 1px solid #ccc;
286
+ display: flex;
287
+
288
+ .Vlt-native-dropdown {
289
+ margin-top: 0;
290
+ }
291
+ }
292
+
293
+ .oas-trigger:before {
294
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAABkCAMAAACCTv/3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFAAAA5ubmSUUG+gAAAAJ0Uk5T/wDltzBKAAAAPklEQVR42uzYQQ0AAAgDseHfNC4IyVoD912WAACUm3uampqampqamq+aAAD+IVtTU1NTU1NT0z8EAFBsBRgAX+kR+Qam138AAAAASUVORK5CYII=);
295
+
296
+ background-position: center center;
297
+ background-repeat: no-repeat;
298
+ background-size: 22px;
299
+ content: '';
300
+ display: inline-block;
301
+ -ms-flex: 0 0 24px;
302
+ flex: 0 0 24px;
303
+ min-height: 24px;
304
+ width: 24px;
305
+ margin-right: 8px;
306
+ }
307
+
308
+
309
+
310
+ // OAS Version switcher
311
+ .Nxd-version {
312
+ p {
313
+ text-transform: uppercase;
314
+ font-size: 1.3rem !important;
315
+ }
316
+
317
+ a {
318
+ font-size: 1.3rem !important;
319
+ color: #005282 !important;
320
+ &.active {
321
+ font-weight: bold;
322
+ }
142
323
  }
143
324
  }
325
+
326
+ // Used for the Required field
327
+ .constraint {
328
+ text-transform: uppercase;
329
+ font-size: 0.82em;
330
+ font-weight: 600;
331
+ color: $red;
332
+ }
333
+
334
+ .xml-flag {
335
+ text-transform: uppercase;
336
+ font-size: 0.82em;
337
+ font-weight: 600;
338
+ color: $blue-dark;
339
+ }
340
+
144
341
  }
@@ -1,10 +1,6 @@
1
1
  @import "./variables";
2
- @import "./nexmo";
3
2
  @import "./mediaqueries";
4
3
 
5
4
  @import "./api";
6
- @import "./core";
7
- @import "./navigation";
8
- @import "./syntax";
9
- @import "./typography";
10
- @import "./volta-templates";
5
+ @import "./themes/light";
6
+ @import "./themes/dark";