| for content_type, content in request_body['content'].items(): | for content_type, content in request_body['content'].items(): | ||||
| # if there is a reference, get the reference and overwrite the content | # if there is a reference, get the reference and overwrite the content | ||||
| if 'schema' not in content: | if 'schema' not in content: | ||||
| content | |||||
| continue | |||||
| if '$ref' in content['schema']: | if '$ref' in content['schema']: | ||||
| # get the reference | # get the reference |