We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f87458 commit 6159b33Copy full SHA for 6159b33
spec/api_models_spec.rb
@@ -9,7 +9,7 @@ class Something < Grape::Entity
9
end
10
11
12
- class NotAMountedApi < Grape::API
+ class ModelsApi < Grape::API
13
format :json
14
desc 'This gets something.', {
15
entity: Entities::Something
@@ -22,7 +22,7 @@ class NotAMountedApi < Grape::API
22
23
24
25
- def app; NotAMountedApi; end
+ def app; ModelsApi; end
26
27
it "should document specified models" do
28
get '/swagger_doc'
0 commit comments