From 294dc62ffd729144ee819dc1b4d0be80d8fd45d1 Mon Sep 17 00:00:00 2001 From: dieriba Date: Fri, 16 May 2025 09:59:45 +0200 Subject: [PATCH] add null typing to openapi spec for easier gen (#5759) --- backend/windmill-api/openapi.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 31773aa037..1cf9d42a95 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -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