Closed
Description
Running on the latest 2.2.0 release of grape will produce these exceptions:
NameError:
uninitialized constant Grape::ContentTypes::CONTENT_TYPES
# ./lib/grape-swagger/endpoint.rb:15:in `content_types_for'
NoMethodError:
undefined method `formatters' for module Grape::Formatter
# ./lib/grape-swagger/endpoint.rb:14:in `content_types_for'
Used here:
- https://github.com/ruby-grape/grape-swagger/blob/v2.1.0/lib/grape-swagger/doc_methods/produces_consumes.rb#L10
- https://github.com/ruby-grape/grape-swagger/blob/v2.1.0/lib/grape-swagger/endpoint.rb#L15
Grape has removed/renamed these constants/methods via ruby-grape/grape@fb67ea9#diff-e28e889e3579545f8e2fedc3ab52f78530206ed808afdc9a23703f8b089f80e3
Metadata
Metadata
Assignees
Labels
No labels