From 48d2b6fadac31a36e86737fa56c0313424299666 Mon Sep 17 00:00:00 2001 From: Daniel Franklin Date: Tue, 6 Oct 2026 17:12:25 +0700 Subject: [PATCH] feat: Update MiniMax OpenAPI spec for count type flexibility --- src/libs/MiniMax/openapi.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/libs/MiniMax/openapi.yaml b/src/libs/MiniMax/openapi.yaml index 3df6322..65d3993 100644 --- a/src/libs/MiniMax/openapi.yaml +++ b/src/libs/MiniMax/openapi.yaml @@ -496,9 +496,15 @@ components: type: object properties: success_count: - type: integer + description: "Returned as a string by the API; numeric schema retained for clients that emit numbers." + oneOf: + - type: integer + - type: string failed_count: - type: integer + description: "Returned as a string by the API; numeric schema retained for clients that emit numbers." + oneOf: + - type: integer + - type: string ImageGenerationRequest: type: object required: