mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
refactor: fix OpenAPI contract generation schemas (#37387)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
autofix-ci[bot]
parent
7cf75c3cc5
commit
5d77c0af08
@@ -117,7 +117,7 @@ class NodeOutputView(BaseModel):
|
||||
name: str
|
||||
type: DeclaredOutputType | None = None
|
||||
status: NodeOutputStatus
|
||||
value_preview: Any = Field(default=None, json_schema_extra={"x-dify-opaque": True})
|
||||
value_preview: Any = Field(default=None)
|
||||
type_check: CheckResultView | None = None
|
||||
output_check: CheckResultView | None = None
|
||||
retried: int = 0
|
||||
@@ -150,7 +150,7 @@ class OutputPreviewView(BaseModel):
|
||||
output_name: str
|
||||
type: DeclaredOutputType | None = None
|
||||
status: NodeOutputStatus
|
||||
value: Any = Field(default=None, json_schema_extra={"x-dify-opaque": True})
|
||||
value: Any = Field(default=None)
|
||||
|
||||
|
||||
class NodeOutputInspectorError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user