Skip to content

Commit

Permalink
merge origin/master into FerdinaKusumah:feature/refactoringCode (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: artcg <arthurgoldbergfwd@gmail.com>
  • Loading branch information
FerdinaKusumah and artcg committed Mar 16, 2021
1 parent 437f1d6 commit ad60644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanic_openapi/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def inner(func):
return inner


def consumes(*args, content_type=None, location="query", required=False):
def consumes(*args, content_type="application/json", location="query", required=False):
def inner(func):
if args:
for arg in args:
Expand Down

0 comments on commit ad60644

Please sign in to comment.