Class: Hanami::Middleware::BodyParser::JsonParser

Inherits:
Object
  • Object
show all
Defined in:
lib/inferno/ext/json_parser.rb

Class Method Summary collapse

Class Method Details

.mime_typesObject



5
6
7
# File 'lib/inferno/ext/json_parser.rb', line 5

def self.mime_types
  ['application/json', 'application/vnd.api+json', 'application/fhir+json']
end