spec/support/model_parsers/mock_parser.rb in grape-swagger-0.24.0 vs spec/support/model_parsers/mock_parser.rb in grape-swagger-0.25.0
- old
+ new
@@ -51,10 +51,13 @@
class QueryInput < OpenStruct; end
class ApiError < OpenStruct; end
class SecondApiError < OpenStruct; end
class RecursiveModel < OpenStruct; end
class DocumentedHashAndArrayModel < OpenStruct; end
+ module NestedModule
+ class ApiResponse < OpenStruct; end
+ end
end
end
let(:swagger_definitions_models) do
{
@@ -327,7 +330,7 @@
let(:http_verbs) { %w(get post put delete) }
end
def mounted_paths
- %w( /thing /other_thing /dummy )
+ %w(/thing /other_thing /dummy)
end