Skip to content

Commit 96a6e1c

Browse files
committed
Move summary documentation under options hash
1 parent a4cae6d commit 96a6e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/dsl/desc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ module Desc
44
include Grape::DSL::Settings
55

66
# Add a description to the next namespace or function.
7-
# @option options :summary [String] summary for this endpoint
87
# @param description [String] descriptive string for this endpoint
98
# or namespace
109
# @param options [Hash] other properties you can set to describe the
1110
# endpoint or namespace. Optional.
1211
# @option options :detail [String] additional detail about this endpoint
12+
# @option options :summary [String] summary for this endpoint
1313
# @option options :params [Hash] param types and info. normally, you set
1414
# these via the `params` dsl method.
1515
# @option options :entity [Grape::Entity] the entity returned upon a

0 commit comments

Comments
 (0)