From f6cb0c4a15cbf368d50a5dacdbd71ef4124fae3b Mon Sep 17 00:00:00 2001 From: ewezy Date: Thu, 23 May 2024 15:26:36 +0800 Subject: [PATCH] Update openapi specs --- api/api/openapi.bundle.yaml | 1 + api/api/specs/routers.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/api/api/openapi.bundle.yaml b/api/api/openapi.bundle.yaml index 63d9aa755..0c8f8cd48 100644 --- a/api/api/openapi.bundle.yaml +++ b/api/api/openapi.bundle.yaml @@ -2329,6 +2329,7 @@ components: pattern: ^(\d{1,3}(\.\d{1,3})?)$|^(\d{2,5}m)$ type: string cpu_limit: + nullable: true pattern: ^(\d{1,3}(\.\d{1,3})?)$|^(\d{2,5}m)$ type: string memory_request: diff --git a/api/api/specs/routers.yaml b/api/api/specs/routers.yaml index ab13f0b0d..e81cb8551 100644 --- a/api/api/specs/routers.yaml +++ b/api/api/specs/routers.yaml @@ -952,6 +952,7 @@ components: cpu_limit: type: "string" pattern: '^(\d{1,3}(\.\d{1,3})?)$|^(\d{2,5}m)$' + nullable: true memory_request: type: "string" pattern: '^\d+(Ei?|Pi?|Ti?|Gi?|Mi?|Ki?)?$'