Skip to content

Commit

Permalink
fix validatedOutput type, make name not required on datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCourier committed Apr 5, 2024
1 parent ad51873 commit d78d4c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions service-specs/guardrails-service-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ components:
model:
type: string
required:
- name
- type
OnFail:
type: object
Expand Down Expand Up @@ -388,7 +387,9 @@ components:
type: boolean
description: Whether the validation passed or failed
validatedOutput:
type: string
oneOf:
- $ref: "#/components/schemas/AnyObject"
- type: string
sessionHistory:
type: array
items:
Expand Down

0 comments on commit d78d4c8

Please sign in to comment.