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 +4 -4
- data/assets/gitbook.md.erb +2 -2
- data/lib/grape_docs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e31321a4293a19f17fd870d5a8c1233b99ccdc
|
4
|
+
data.tar.gz: 0ac9c03b1b2d548531060bdf35ac1abedabe6fec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb08a809f04d5eeaefb84889e501c743ddc2eb0bd63b7a9aba35503064496f9e8e81e42a432b877ae31b0a31dd9a0048d359f05390f9d0e1164f20b862e660fe
|
7
|
+
data.tar.gz: 1e343040f81c1911c87faefc0019eb08da9e3e2c9832318d2a9b7452727447cdc658d9dc4de55590a528d907c5fcc56757f065203051eb6e8139c6e64e3967c7
|
data/assets/gitbook.md.erb
CHANGED
@@ -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="
|
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="
|
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 %>
|
data/lib/grape_docs/version.rb
CHANGED