Bläddra i källkod

content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
tags/0.6.4
fuckqqcom 1 år sedan
förälder
incheckning
9b7b133cbc
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      api/core/tools/utils/parser.py

+ 1
- 1
api/core/tools/utils/parser.py Visa fil

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

Laddar…
Avbryt
Spara