OASJSONParser

This commit is contained in:
peppelinux 2020-08-05 15:04:37 +02:00
parent 559088463b
commit 1a0c916b12

View File

@ -67,6 +67,13 @@ class JSONParser(BaseParser):
raise ParseError('JSON parse error - %s' % str(exc))
class OAS3JSONParser(JSONParser):
"""
Parses OpenAPI+JSON-serialized data.
"""
media_type = 'application/openapi+json'
class FormParser(BaseParser):
"""
Parser for form data.