Skip to content

Commit

Permalink
fix: Add boolean metadata type (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveknair committed Apr 6, 2024
1 parent dee7017 commit 120a11a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1133,11 +1133,13 @@ components:
oneOf:
- $ref: '#/components/schemas/UrlType'
- $ref: '#/components/schemas/StringType'
- $ref: '#/components/schemas/BooleanType'
discriminator:
propertyName: type
mapping:
url: '#/components/schemas/UrlType'
string: '#/components/schemas/StringType'
boolean: '#/components/schemas/BooleanType'

UrlType:
type: object
Expand Down Expand Up @@ -1169,6 +1171,19 @@ components:
value:
type: string

BooleanType:
type: object
required:
- type
- value
properties:
type:
type: string
enum:
- boolean
value:
type: boolean

CreateEvaluationV2:
type: object
properties:
Expand Down

0 comments on commit 120a11a

Please sign in to comment.