Quellcode durchsuchen

content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
tags/0.6.4
fuckqqcom vor 1 Jahr
Ursprung
Commit
9b7b133cbc
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      api/core/tools/utils/parser.py

+ 1
- 1
api/core/tools/utils/parser.py Datei anzeigen

@@ -81,7 +81,7 @@ class ApiBasedToolSchemaParser:
for content_type, content in request_body['content'].items():
# if there is a reference, get the reference and overwrite the content
if 'schema' not in content:
content
continue

if '$ref' in content['schema']:
# get the reference

Laden…
Abbrechen
Speichern