Skip to content

Commit

Permalink
spec: fix strict types validation
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
  • Loading branch information
Jakob3xD committed Jul 19, 2024
1 parent 72fe4a9 commit 8f517fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ components:
type: string
FieldValue:
description: A field value.
type:
- boolean
- 'null'
- number
- object
- string
oneOf:
- type: boolean
- type: 'null'
- type: number
- type: object
- type: string
Void:
description: |-
The absence of any type. This is commonly used in APIs that don't return a body.
Expand Down

0 comments on commit 8f517fb

Please sign in to comment.