Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion openapi_codec/encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _get_parameters(link, encoding):
# https://github.com/OAI/OpenAPI-Specification/issues/50#issuecomment-112063782
schema = {'type': 'string', 'format': 'binary'}
else:
schema = {}
schema = getattr(field, 'schema', {})
parameter = {
'name': field.name,
'required': field.required,
Expand Down