add null typing to openapi spec for easier gen (#5759)

This commit is contained in:
dieriba
2025-05-16 09:59:45 +02:00
committed by GitHub
parent 5f86e60350
commit 294dc62ffd
+2 -4
View File
@@ -11028,11 +11028,8 @@ paths:
description: a config
content:
application/json:
type: object
schema:
oneOf:
- $ref: "#/components/schemas/Configs"
- type: "null"
$ref: "#/components/schemas/Configs"
/configs/update/{name}:
post:
@@ -13211,6 +13208,7 @@ components:
Configs:
type: object
nullable: true
properties:
alerts:
type: array