From 6dc39261c4d4d6272f996c3d3dd530c393a65a26 Mon Sep 17 00:00:00 2001 From: Flo <53355483+Flo4604@users.noreply.github.com> Date: Wed, 30 Jul 2025 15:45:14 +0200 Subject: [PATCH] fix the openapi spec again --- go/apps/api/openapi/spec/common/RatelimitOverride.yaml | 8 -------- go/apps/api/openapi/spec/common/RatelimitResponse.yaml | 1 - 2 files changed, 9 deletions(-) diff --git a/go/apps/api/openapi/spec/common/RatelimitOverride.yaml b/go/apps/api/openapi/spec/common/RatelimitOverride.yaml index 369ad8fd81..c51ad1e63e 100644 --- a/go/apps/api/openapi/spec/common/RatelimitOverride.yaml +++ b/go/apps/api/openapi/spec/common/RatelimitOverride.yaml @@ -1,13 +1,6 @@ type: object additionalProperties: false properties: - namespaceId: - description: The unique identifier of the rate limit namespace this override - belongs to. This links the override to a specific namespace context, ensuring - the override only applies within that namespace. - type: string - minLength: 1 - maxLength: 255 overrideId: description: The unique identifier of this specific rate limit override. This ID is generated when the override is created and can be used for @@ -53,7 +46,6 @@ properties: type: integer minimum: 0 required: - - namespaceId - overrideId - duration - identifier diff --git a/go/apps/api/openapi/spec/common/RatelimitResponse.yaml b/go/apps/api/openapi/spec/common/RatelimitResponse.yaml index bbf2e5ac87..7bcdd37653 100644 --- a/go/apps/api/openapi/spec/common/RatelimitResponse.yaml +++ b/go/apps/api/openapi/spec/common/RatelimitResponse.yaml @@ -11,7 +11,6 @@ properties: type: string minLength: 1 maxLength: 128 - pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$" description: Human-readable name for this rate limit. example: api_requests limit: