We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baa97e0 commit 144d00aCopy full SHA for 144d00a
openapi_codec/encode.py
@@ -171,7 +171,7 @@ def _get_parameters(link, encoding):
171
# https://github.com/OAI/OpenAPI-Specification/issues/50#issuecomment-112063782
172
schema = {'type': 'string', 'format': 'binary'}
173
else:
174
- schema = {}
+ schema = getattr(field, 'schema', {})
175
parameter = {
176
'name': field.name,
177
'required': field.required,
0 commit comments