mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 08:02:19 +00:00
add null typing to openapi spec for easier gen (#5759)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user