Skip to content

Commit

Permalink
add default for requestBody
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkav committed Nov 9, 2018
1 parent 388c39a commit 3938fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connexion/operations/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def component_get(oas3_name):
}
}

self._request_body = operation.get('requestBody')
self._request_body = operation.get('requestBody', {})

self._parameters = operation.get('parameters', [])
if path_parameters:
Expand Down

0 comments on commit 3938fb8

Please sign in to comment.