Skip to content

Commit 0c71821

Browse files
fix: replace nullable with OpenAPI 3.1 type array syntax (#128)
1 parent 4487de6 commit 0c71821

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/openapi.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,9 @@ paths:
423423
type: object
424424
properties:
425425
reason:
426-
type: string
427-
nullable: true
426+
type:
427+
- string
428+
- 'null'
428429
description: Optional human-readable reason for denylisting this entity
429430
responses:
430431
'201':
@@ -945,8 +946,9 @@ components:
945946
type: string
946947
description: Lowercase entity ID (Catalyst CID) that is blocked
947948
reason:
948-
type: string
949-
nullable: true
949+
type:
950+
- string
951+
- 'null'
950952
description: Optional human-readable reason why this entity was denylisted
951953
created_by:
952954
type: string

0 commit comments

Comments
 (0)