Skip to content

Commit d78d4c8

Browse files
committed
fix validatedOutput type, make name not required on datatype
1 parent ad51873 commit d78d4c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

service-specs/guardrails-service-spec.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ components:
358358
model:
359359
type: string
360360
required:
361-
- name
362361
- type
363362
OnFail:
364363
type: object
@@ -388,7 +387,9 @@ components:
388387
type: boolean
389388
description: Whether the validation passed or failed
390389
validatedOutput:
391-
type: string
390+
oneOf:
391+
- $ref: "#/components/schemas/AnyObject"
392+
- type: string
392393
sessionHistory:
393394
type: array
394395
items:

0 commit comments

Comments
 (0)