grape-docs 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72374a6c1a5d1e1c911787536ee6ceb6696f0e92
4
- data.tar.gz: 8967d62026abcec9f918d7260ef3868378883343
3
+ metadata.gz: a1e31321a4293a19f17fd870d5a8c1233b99ccdc
4
+ data.tar.gz: 0ac9c03b1b2d548531060bdf35ac1abedabe6fec
5
5
  SHA512:
6
- metadata.gz: 85ba0a4ee3819a8381c02567d4fb8e7c67a394cb275ca930229dadd35846adc8dc85b612f8cf83db39aa31dba321337af1b398536ab49d31f0881b46bb2bebe3
7
- data.tar.gz: 03c80b1847e0a1740c75b4f8acf10aae5f6beded6e3237a6ed80519b2e858bd17cacd3c3da3bc1fedadf95583a2db0da49acc0aba6938f4685110f7e1d4f107e
6
+ metadata.gz: eb08a809f04d5eeaefb84889e501c743ddc2eb0bd63b7a9aba35503064496f9e8e81e42a432b877ae31b0a31dd9a0048d359f05390f9d0e1164f20b862e660fe
7
+ data.tar.gz: 1e343040f81c1911c87faefc0019eb08da9e3e2c9832318d2a9b7452727447cdc658d9dc4de55590a528d907c5fcc56757f065203051eb6e8139c6e64e3967c7
@@ -30,7 +30,7 @@
30
30
  <% if endpoint.query_params.length > 0 %>
31
31
  {% api-method-query-parameters %}
32
32
  <% endpoint.query_params.each do |param| %>
33
- {% api-method-parameter name="<%= param[:name] %>" type="string" <% if param[:required] %>required=true <% end %>%}
33
+ {% api-method-parameter name="<%= param[:name] %>" type="<%= param[:type] %>" <% if param[:required] %>required=true <% end %>%}
34
34
  <%= param[:desc] %>
35
35
  {% endapi-method-parameter %}
36
36
  <% end %>
@@ -40,7 +40,7 @@
40
40
  <% if endpoint.body_params.length > 0 %>
41
41
  {% api-method-body-parameters %}
42
42
  <% endpoint.body_params.each do |param| %>
43
- {% api-method-parameter name="<%= param[:name] %>" type="string" <% if param[:required] %>required=true <% end %>%}
43
+ {% api-method-parameter name="<%= param[:name] %>" type="<%= param[:type] %>" <% if param[:required] %>required=true <% end %>%}
44
44
  <%= param[:desc] %>
45
45
  {% endapi-method-parameter %}
46
46
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module GrapeDocs
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer