nexmo-oas-renderer 0.3.7 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/Gemfile.lock +7 -7
  4. data/README.md +5 -0
  5. data/lib/nexmo/oas/renderer/app.rb +1 -0
  6. data/lib/nexmo/oas/renderer/filters/external_link.rb +1 -1
  7. data/lib/nexmo/oas/renderer/filters/heading.rb +1 -1
  8. data/lib/nexmo/oas/renderer/filters/icon.rb +3 -3
  9. data/lib/nexmo/oas/renderer/filters/tooltip.rb +1 -1
  10. data/lib/nexmo/oas/renderer/presenters/response_tab/link.rb +28 -0
  11. data/lib/nexmo/oas/renderer/presenters/response_tab/panel.rb +40 -0
  12. data/lib/nexmo/oas/renderer/presenters/response_tabs.rb +40 -0
  13. data/lib/nexmo/oas/renderer/public/assets/javascripts/application.js +19 -0
  14. data/lib/nexmo/oas/renderer/public/assets/javascripts/components/scroll.js +21 -0
  15. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss +11 -1
  16. data/lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss +4 -0
  17. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css +862 -1
  18. data/lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map +1 -1
  19. data/lib/nexmo/oas/renderer/version.rb +1 -1
  20. data/lib/nexmo/oas/renderer/views/layouts/_javascripts.erb +3 -0
  21. data/lib/nexmo/oas/renderer/views/open_api/_endpoint.erb +34 -53
  22. data/lib/nexmo/oas/renderer/views/open_api/_model.erb +1 -1
  23. data/lib/nexmo/oas/renderer/views/open_api/_navigation.erb +3 -3
  24. data/lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb +2 -3
  25. data/lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb +9 -25
  26. data/lib/nexmo/oas/renderer/views/open_api/_response_fields.erb +18 -0
  27. data/lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb +18 -0
  28. data/lib/nexmo/oas/renderer/views/open_api/show.erb +2 -2
  29. metadata +11 -16
  30. data/lib/nexmo/oas/renderer/public/assets/stylesheets/api.css +0 -95
  31. data/lib/nexmo/oas/renderer/public/assets/stylesheets/buttons.css +0 -80
  32. data/lib/nexmo/oas/renderer/public/assets/stylesheets/core.css +0 -79
  33. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css +0 -2
  34. data/lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css.map +0 -7
  35. data/lib/nexmo/oas/renderer/public/assets/stylesheets/navigation.css +0 -79
  36. data/lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo.css +0 -68
  37. data/lib/nexmo/oas/renderer/public/assets/stylesheets/syntax.css +0 -79
  38. data/lib/nexmo/oas/renderer/public/assets/stylesheets/typography.css +0 -86
  39. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css +0 -2
  40. data/lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css.map +0 -7
  41. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css +0 -2
  42. data/lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css.map +0 -7
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "mappings": "AAsDA,YAAa,CACX,OAAO,CAAE,WAAW,CAGtB,IAAK,CACH,UAAU,CCAG,OAAO,CC3CrB,yCAAkB,CADnB,WAAY,CAEV,OAAO,CAAE,eAAe,EAKzB,yCAAkB,CADnB,WAAY,CAEV,OAAO,CAAE,eAAe,EAGzB,yCAAkB,CALnB,WAAY,CAMV,OAAO,CAAE,eAAe,EAKzB,yCAAkB,CADnB,WAAY,CAEV,OAAO,CAAE,eAAe,EAKzB,yCAAkB,CADnB,WAAY,CAEV,OAAO,CAAE,eAAe,EAKzB,yCAAkB,CADnB,WAAY,CAEV,OAAO,CAAE,eAAe,EC7C1B,YAAa,CACX,OAAO,CAAE,IAAI,CAGf,iBAAkB,CAChB,WAAW,CAAE,eAAe,CAG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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"],
5
5
  "names": [],
6
6
  "file": "style.css"
@@ -1,7 +1,7 @@
1
1
  module Nexmo
2
2
  module OAS
3
3
  module Renderer
4
- VERSION = "0.3.7"
4
+ VERSION = "0.4.0"
5
5
  end
6
6
  end
7
7
  end
@@ -2,8 +2,11 @@
2
2
  <script src="/assets/javascripts/volta.accordion.js"></script>
3
3
  <script src="/assets/javascripts/volta.tabs.js"></script>
4
4
  <script src="/assets/javascripts/volta.modal.js"></script>
5
+ <script src="/assets/javascripts/application.js"></script>
5
6
  <script src="/assets/javascripts/components/format.js"></script>
7
+ <script src="/assets/javascripts/components/scroll.js"></script>
6
8
  <script type="text/javascript">
7
9
  Volta.init(["accordion", "tab", "modal"]);
8
10
  new Format
11
+ new Scroll
9
12
  </script>
@@ -87,7 +87,7 @@
87
87
  <% end %>
88
88
 
89
89
  <%= erb :'open_api/_parameter_groups', locals: { endpoint: endpoint } %>
90
- <%= erb :'open_api/_response_descriptions', locals: { endpoint: endpoint, anchor_prefix: "response-#{endpoint.operationId}", auto_expand_responses: @auto_expand_responses } %>
90
+ <%= erb :'open_api/_response_descriptions', locals: { endpoint: endpoint, auto_expand_responses: @auto_expand_responses } %>
91
91
 
92
92
  </div>
93
93
  </div>
@@ -95,60 +95,41 @@
95
95
  <div class="Vlt-col Vlt-col--1of3 Nxd-api__code">
96
96
  <%= erb :'open_api/_code_examples', locals: { endpoint: endpoint } %>
97
97
 
98
- <% endpoint.responses.each do |response| %>
99
- <%
100
- id = SecureRandom.hex
101
- expand_response = response.code[0] == '2' && response.raw['x-expand-response'] != false
102
- expand_response = true if response.raw['x-expand-response']
103
- %>
104
-
105
- <div class="Vlt-accordion">
106
- <button tabindex="0" class="Vlt-accordion__trigger <%= expand_response ? 'Vlt-accordion__trigger_active' : '' %>">
107
- <h5 class="Vlt-title--nomargin">HTTP response
108
- <span class="Vlt-badge Vlt-badge--<%= response.code[0] == '2' ? 'green' : response.code[0] == '3' ? 'yellow' : 'red' %>"><%= response.code %></span>
109
- </h5>
110
- </button>
111
-
112
- <div class="Vlt-accordion__content <%= expand_response ? 'Vlt-accordion__content_open' : '' %>">
113
- <% response.formats.each_with_index do |format, index| %>
114
- <div class="js-format" data-format="<%= format %>">
115
- <% if response.exhibits_one_of_multiple_schemas?(format) %>
116
- <%
117
- schema_tab_ids = []
118
- id = SecureRandom.hex
119
- response.split_schemas(format).each { schema_tab_ids << SecureRandom.hex }
120
- %>
121
-
122
- <div class="Vlt-tabs">
123
- <div class="Vlt-tabs__header">
124
- <% response.split_schemas(format).each_with_index do |schema, index| %>
125
- <div tabindex="<%= schema_tab_ids[index] %>" <% if index.zero? %>class="Vlt-tabs__link Vlt-tabs__link_active" aria-selected="true"<% else %>class="Vlt-tabs__link"<% end %>>
126
- <%= schema['description'] || "Response #{index + 1}" %>
127
- </div>
128
- <% end %>
129
- </div>
130
- <div class="Vlt-tabs__content">
131
- <% response.split_schemas(format).each_with_index do |schema, index| %>
132
- <div class="Vlt-tabs__panel <% if index.zero? %>Vlt-tabs__panel_active<% end %>">
133
- <%= Nexmo::OAS::Renderer::ResponseParserDecorator.new(schema).html(format, xml_options: schema['xml']) %>
134
- </div>
135
- <% end %>
136
- </div>
137
- </div>
138
- <% else %>
139
- <% schema = response.schema(format) %>
140
- <%= Nexmo::OAS::Renderer::ResponseParserDecorator.new(schema).html(format, xml_options: schema['xml']) %>
141
- <% end %>
142
- </div>
98
+ <div class='Nxd-api__responses'>
99
+ <% endpoint.responses.each do |response| %>
100
+ <%
101
+ id = SecureRandom.hex
102
+ expand_response = response.code[0] == '2' && response.raw['x-expand-response'] != false
103
+ expand_response = true if response.raw['x-expand-response']
104
+ %>
105
+
106
+ <div class="Vlt-accordion">
107
+ <button tabindex="0" class="Vlt-accordion__trigger <%= expand_response ? 'Vlt-accordion__trigger_active' : '' %>">
108
+ <h5 class="Vlt-title--nomargin">HTTP response
109
+ <span class="Vlt-badge Vlt-badge--<%= response.code[0] == '2' ? 'green' : response.code[0] == '3' ? 'yellow' : 'red' %>"><%= response.code %></span>
110
+ </h5>
111
+ </button>
112
+
113
+ <div class="Vlt-accordion__content <%= expand_response ? 'Vlt-accordion__content_open' : '' %>">
114
+ <% response.formats.each_with_index do |format, index| %>
115
+ <div class="js-format" data-format="<%= format %>">
116
+ <% if response.exhibits_one_of_multiple_schemas?(format) %>
117
+ <%= erb :'open_api/_response_tabs', locals: { format: format, response: response, content: :responses } %>
118
+ <% else %>
119
+ <% schema = response.schema(format) %>
120
+ <%= Nexmo::OAS::Renderer::ResponseParserDecorator.new(schema).html(format, xml_options: schema['xml']) %>
121
+ <% end %>
122
+ </div>
123
+ <% end %>
124
+
125
+ <% if response.code == '204' || response.formats.empty? %>
126
+ <% content = response.description ? response.description : 'No content' %>
127
+ <pre class="highlight"><code><%= content %></code></pre>
143
128
  <% end %>
144
-
145
- <% if response.code == '204' || response.formats.empty? %>
146
- <% content = response.description ? response.description : 'No content' %>
147
- <pre class="highlight"><code><%= content %></code></pre>
148
- <% end %>
129
+ </div>
149
130
  </div>
150
- </div>
151
- <% end %>
131
+ <% end %>
132
+ </div>
152
133
  </div>
153
134
  </div>
154
135
 
@@ -1,7 +1,7 @@
1
1
  <div class="Vlt-grid <% if !group['schema'] %> Nxd-api--noborder Vlt-article--reverse<% end %>">
2
2
  <div class="Vlt-col Vlt-col--2of3 Nxd-api__docs">
3
3
  <div>
4
- <h1 id="<%= group['name'].parameterize %>" class='Vlt-grey-dark'><%= group['name'] %></h1>
4
+ <h2 id="<%= group['name'].parameterize %>" class='Vlt-grey-dark'><%= group['name'] %></h2>
5
5
  <p class: "Vlt-grey-darker"><%= group['description'] %></p>
6
6
 
7
7
  <% if group['schema'] %>
@@ -22,7 +22,7 @@
22
22
  <% endpoints.each do |endpoint| %>
23
23
  <li>
24
24
  <a href="#<%= endpoint.operationId %>" class="Vlt-sidemenu__link">
25
- <svg class="Vlt-green"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-code" /></svg>
25
+ <svg class="Vlt-green"><use xlink:href="/assets/symbol/volta-icons.svg#Vlt-icon-code" /></svg>
26
26
 
27
27
  <span class="Vlt-sidemenu__label">
28
28
  <%= normalize_summary_title(endpoint.summary, endpoint.operationId) %>
@@ -37,7 +37,7 @@
37
37
  <% path.endpoints.each do |endpoint| %>
38
38
  <li class="Nxd-menu__indent">
39
39
  <a href="#<%= endpoint.operationId %>" class="Vlt-sidemenu__link">
40
- <svg class="Vlt-blue"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-toggle" /></svg>
40
+ <svg class="Vlt-blue"><use xlink:href="/assets/symbol/volta-icons.svg#Vlt-icon-toggle" /></svg>
41
41
  <span class="Vlt-sidemenu__label"><%= endpoint.summary %></span>
42
42
  </a>
43
43
  </li>
@@ -55,7 +55,7 @@
55
55
  <% path.endpoints.each do |endpoint| %>
56
56
  <li>
57
57
  <a href="#<%= name %>" class="Vlt-sidemenu__link">
58
- <svg class="Vlt-orange"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-mind-map" /></svg>
58
+ <svg class="Vlt-orange"><use xlink:href="/assets/symbol/volta-icons.svg#Vlt-icon-mind-map" /></svg>
59
59
  <span class="Vlt-sidemenu__label"><%= endpoint.summary %></span>
60
60
  </a>
61
61
  </li>
@@ -16,9 +16,8 @@
16
16
  <% schema['properties'].each do |key, value| %>
17
17
  <% next if key == '_links' %>
18
18
  <% next if value['x-skip-response-description'] %>
19
- <% anchor_value = "#{anchor_prefix}-#{key}" %>
20
19
  <tr<% if value['properties'] %> class=" Vlt-table__row--noline" <% end %>>
21
- <td id="<%= anchor_value %>">
20
+ <td>
22
21
  <b><%= key %></b>
23
22
  <% if value['items'] %>
24
23
  <br />
@@ -55,7 +54,7 @@
55
54
  </tr>
56
55
  </thead>
57
56
  <tbody>
58
- <%= erb :'open_api/_response_description_parameters', locals: { schema: value, anchor_prefix: anchor_value } %>
57
+ <%= erb :'open_api/_response_description_parameters', locals: { schema: value } %>
59
58
  </tbody>
60
59
  </table>
61
60
  </div>
@@ -5,37 +5,21 @@
5
5
  <% id = SecureRandom.hex %>
6
6
  <p class="collapsible">
7
7
  <a class="Vlt-js-accordion__trigger Nxd-accordion-button" data-accordion="acc<%= id %>">
8
- <span class="Vlt-btn Vlt-btn--tertiary Vlt-btn--block">
9
- View response field descriptions
8
+ <span class="response-description-toggle Vlt-btn Vlt-btn--tertiary Vlt-btn--block">
9
+ <%= auto_expand_responses ? 'Hide' : 'View' %> response field descriptions
10
10
  </span>
11
11
  </a>
12
12
  </p>
13
13
 
14
14
  <div id="acc<%= id %>" class="Vlt-js-accordion__content <%= auto_expand_responses ? 'Vlt-js-accordion__content_open' : '' %>">
15
- <h4 id="<%= anchor_prefix %>">Response Fields</h4>
15
+ <h4>Response Fields</h4>
16
16
  <% response.formats.each_with_index do |format, index| %>
17
- <div class="js-format" data-format="<%= format %>">
18
- <div class="Vlt-table">
19
- <table>
20
- <thead>
21
- <tr>
22
- <th>Field</th>
23
- <th>Description</th>
24
- </tr>
25
- </thead>
26
- <tbody>
27
- <% if response.exhibits_one_of_multiple_schemas?(format) %>
28
- <% response.split_schemas(format).each_with_index do |schema, index| %>
29
- <%= erb :'open_api/_response_description_parameters', locals: { schema: schema, anchor_prefix: anchor_prefix } %>
30
- <% end %>
31
- <% else %>
32
- <% schema = response.schema(format) %>
33
- <%= erb :'open_api/_response_description_parameters', locals: { schema: schema, anchor_prefix: anchor_prefix } %>
34
- <% end %>
35
- </tbody>
36
- </table>
37
- </div>
38
- </div>
17
+ <% if response.exhibits_one_of_multiple_schemas?(format) %>
18
+ <%= erb :'open_api/_response_tabs', locals: { format: format, response: response, content: :descriptions } %>
19
+ <% else %>
20
+ <% schema = response.schema(format) %>
21
+ <%= erb :'open_api/_response_fields', locals: { schema: schema, format: format, index: nil } %>
22
+ <% end %>
39
23
  <% end %>
40
24
  </div>
41
25
  <% end %>
@@ -0,0 +1,18 @@
1
+ <div class="js-format Nxd-api__response" data-format="<%= format %>">
2
+ <div class="Vlt-table Vlt-table--data Vlt-table--bordered">
3
+ <table>
4
+ <thead>
5
+ <% if index %>
6
+ <tr><th colspan="2"><%= schema['description'] || "Response #{index + 1}"%></th></tr>
7
+ <% end %>
8
+ <tr>
9
+ <th>Field</th>
10
+ <th>Description</th>
11
+ </tr>
12
+ </thead>
13
+ <tbody>
14
+ <%= erb :'open_api/_response_description_parameters', locals: { schema: schema } %>
15
+ </tbody>
16
+ </table>
17
+ </div>
18
+ </div>
@@ -0,0 +1,18 @@
1
+ <% tabs = Nexmo::OAS::Renderer::Presenters::ResponseTabs.new(format, response, content) %>
2
+
3
+ <div class='Vlt-tabs js-format' data-format='<%= tabs.format %>'>
4
+ <div class='Vlt-tabs__header' role='tablist' aria-label='Responses'>
5
+ <% tabs.tab_links.each do |link| %>
6
+ <div class='<%= link.css_classes %>'>
7
+ <%= link.content %>
8
+ </div>
9
+ <% end %>
10
+ </div>
11
+ <div class='Vlt-tabs__content'>
12
+ <% tabs.tab_panels.each do |panel| %>
13
+ <div class='<%= panel.css_classes %>'>
14
+ <%= erb *panel.content %>
15
+ </div>
16
+ <% end %>
17
+ </div>
18
+ </div>
@@ -22,14 +22,14 @@
22
22
  <div class="Vlt-grid">
23
23
  <div class="Vlt-col">
24
24
  <a href=<%= url("#{request.url}.#{definition.format}", params: request.params) %> class='Vlt-btn Vlt-btn--secondary Vlt-btn--app'>
25
- <svg><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-download" /></svg>
25
+ <svg><use xlink:href="/assets/symbol/volta-icons.svg#Vlt-icon-download" /></svg>
26
26
  Download OpenAPI 3 Definition
27
27
  </a>
28
28
  </div>
29
29
  <div class="Vlt-col Vlt-right">
30
30
  <a href="https://github.com/Nexmo/api-specification/blob/master/definitions/<%= @specification.definition_name %>.yml" class='Vlt-btn Vlt-btn--tertiary Vlt-btn--app Vlt-right'>
31
31
  <svg className="Vlt-icon Vlt-black">
32
- <use xlink:href="/symbol/volta-icons.svg#Vlt-icon-github" />
32
+ <use xlink:href="/assets/symbol/volta-icons.svg#Vlt-icon-github" />
33
33
  </svg>
34
34
  Improve this specification
35
35
  </a>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexmo-oas-renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Rodriguez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -299,6 +299,9 @@ files:
299
299
  - lib/nexmo/oas/renderer/presenters/navigation.rb
300
300
  - lib/nexmo/oas/renderer/presenters/open_api_specification.rb
301
301
  - lib/nexmo/oas/renderer/presenters/response_format.rb
302
+ - lib/nexmo/oas/renderer/presenters/response_tab/link.rb
303
+ - lib/nexmo/oas/renderer/presenters/response_tab/panel.rb
304
+ - lib/nexmo/oas/renderer/presenters/response_tabs.rb
302
305
  - lib/nexmo/oas/renderer/presenters/versions.rb
303
306
  - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff
304
307
  - lib/nexmo/oas/renderer/public/assets/fonts/Lato-Black.woff2
@@ -319,18 +322,13 @@ files:
319
322
  - lib/nexmo/oas/renderer/public/assets/images/brands/python.svg
320
323
  - lib/nexmo/oas/renderer/public/assets/images/brands/ruby.svg
321
324
  - lib/nexmo/oas/renderer/public/assets/images/lost.svg
325
+ - lib/nexmo/oas/renderer/public/assets/javascripts/application.js
322
326
  - lib/nexmo/oas/renderer/public/assets/javascripts/components/format.js
327
+ - lib/nexmo/oas/renderer/public/assets/javascripts/components/scroll.js
323
328
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.accordion.js
324
329
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.core.js
325
330
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.modal.js
326
331
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.tabs.js
327
- - lib/nexmo/oas/renderer/public/assets/stylesheets/api.css
328
- - lib/nexmo/oas/renderer/public/assets/stylesheets/buttons.css
329
- - lib/nexmo/oas/renderer/public/assets/stylesheets/core.css
330
- - lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css
331
- - lib/nexmo/oas/renderer/public/assets/stylesheets/mediaqueries.css.map
332
- - lib/nexmo/oas/renderer/public/assets/stylesheets/navigation.css
333
- - lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo.css
334
332
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
335
333
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss
336
334
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/mediaqueries.scss
@@ -343,12 +341,6 @@ files:
343
341
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/volta-templates.scss
344
342
  - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css
345
343
  - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map
346
- - lib/nexmo/oas/renderer/public/assets/stylesheets/syntax.css
347
- - lib/nexmo/oas/renderer/public/assets/stylesheets/typography.css
348
- - lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css
349
- - lib/nexmo/oas/renderer/public/assets/stylesheets/variables.css.map
350
- - lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css
351
- - lib/nexmo/oas/renderer/public/assets/stylesheets/volta-templates.css.map
352
344
  - lib/nexmo/oas/renderer/public/assets/stylesheets/volta.min.css
353
345
  - lib/nexmo/oas/renderer/public/assets/symbol/volta-icons.svg
354
346
  - lib/nexmo/oas/renderer/public/favicon.ico
@@ -381,6 +373,8 @@ files:
381
373
  - lib/nexmo/oas/renderer/views/open_api/_parameters.erb
382
374
  - lib/nexmo/oas/renderer/views/open_api/_response_description_parameters.erb
383
375
  - lib/nexmo/oas/renderer/views/open_api/_response_descriptions.erb
376
+ - lib/nexmo/oas/renderer/views/open_api/_response_fields.erb
377
+ - lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
384
378
  - lib/nexmo/oas/renderer/views/open_api/show.erb
385
379
  - lib/nexmo/oas/renderer/views/static/404.erb
386
380
  - lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
@@ -409,7 +403,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
409
403
  - !ruby/object:Gem::Version
410
404
  version: '0'
411
405
  requirements: []
412
- rubygems_version: 3.0.3
406
+ rubyforge_project:
407
+ rubygems_version: 2.7.6.2
413
408
  signing_key:
414
409
  specification_version: 4
415
410
  summary: OpenAPI Specification renderer.
@@ -1,95 +0,0 @@
1
- /*
2
- Error: Undefined variable: "$green".
3
- on line 13 of ./public/stylesheets/sass/api.scss
4
-
5
- 8:
6
- 9: .Nxd-method-badge {
7
- 10: text-transform: uppercase;
8
- 11:
9
- 12: &--post {
10
- 13: background: $green;
11
- 14: }
12
- 15:
13
- 16: &--get {
14
- 17: background: $blue-dark;
15
- 18: }
16
-
17
- Backtrace:
18
- ./public/stylesheets/sass/api.scss:13
19
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/script/tree/variable.rb:49:in `_perform'
20
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/script/tree/node.rb:50:in `perform'
21
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:398:in `visit_prop'
22
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
23
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
24
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
25
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
26
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
27
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
28
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block (2 levels) in visit_rule'
29
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `map'
30
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block in visit_rule'
31
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
32
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:438:in `visit_rule'
33
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
34
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
35
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
36
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
37
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
38
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
39
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block (2 levels) in visit_rule'
40
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `map'
41
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:440:in `block in visit_rule'
42
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
43
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:438:in `visit_rule'
44
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
45
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
46
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
47
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
48
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
49
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
50
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
51
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `map'
52
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `visit_children'
53
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
54
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
55
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
56
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `block in visit'
57
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
58
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
59
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:157:in `visit'
60
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:10:in `visit'
61
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/root_node.rb:36:in `css_tree'
62
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/tree/root_node.rb:29:in `render_with_sourcemap'
63
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/engine.rb:389:in `_render_with_sourcemap'
64
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/engine.rb:307:in `render_with_sourcemap'
65
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin/compiler.rb:462:in `update_stylesheet'
66
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
67
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin/compiler.rb:209:in `each'
68
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
69
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin.rb:82:in `update_stylesheets'
70
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin.rb:54:in `check_for_updates'
71
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sass-3.7.4/lib/sass/plugin/rack.rb:51:in `call'
72
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/lint.rb:49:in `_call'
73
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/lint.rb:37:in `call'
74
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/show_exceptions.rb:23:in `call'
75
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/common_logger.rb:33:in `call'
76
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:231:in `call'
77
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:86:in `proceed_as_child'
78
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:31:in `call!'
79
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/loader.rb:18:in `call'
80
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/favicon.rb:12:in `call'
81
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/shotgun-0.9.2/lib/shotgun/static.rb:14:in `call'
82
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
83
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
84
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
85
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:153:in `call'
86
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/configuration.rb:227:in `call'
87
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:660:in `handle_request'
88
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:474:in `process_client'
89
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/server.rb:334:in `block in run'
90
- /Users/frodriguez/.rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/puma-3.12.1/lib/puma/thread_pool.rb:135:in `block in spawn_thread'
91
- */
92
- body:before {
93
- white-space: pre;
94
- font-family: monospace;
95
- content: "Error: Undefined variable: \"$green\".\A on line 13 of ./public/stylesheets/sass/api.scss\A \A 8: \A 9: .Nxd-method-badge {\A 10: text-transform: uppercase;\A 11: \A 12: &--post {\A 13: background: $green;\A 14: }\A 15: \A 16: &--get {\A 17: background: $blue-dark;\A 18: }"; }