Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make the default be json
  • Loading branch information
cognifloyd committed Dec 7, 2019
commit 1b141c5af12b019c0c3e8d3f43336ef824a8675f
3 changes: 2 additions & 1 deletion connexion/decorators/produces.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@


class BaseSerializer(BaseDecorator):
def __init__(self, mimetype='text/plain'):
#def __init__(self, mimetype='text/plain'):
def __init__(self, mimetype='application/json'):
"""
:type mimetype: str
"""
Expand Down