From b1ebbb8f9d86a98b6ed580c3755a7c5a015cfa08 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 6 Dec 2024 10:47:29 +0200 Subject: [PATCH] more fixes --- .../docs-generator/src/classes/helpers/schema-factory.ts | 6 ++++++ www/utils/packages/docs-generator/src/classes/kinds/oas.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/www/utils/packages/docs-generator/src/classes/helpers/schema-factory.ts b/www/utils/packages/docs-generator/src/classes/helpers/schema-factory.ts index 6be03bca6165a..c5c2f05471a28 100644 --- a/www/utils/packages/docs-generator/src/classes/helpers/schema-factory.ts +++ b/www/utils/packages/docs-generator/src/classes/helpers/schema-factory.ts @@ -37,6 +37,12 @@ class SchemaFactory { BigNumberValue: { type: "number", }, + difference_due: { + type: "number", + }, + refund_amount: { + type: "number", + }, File: { type: "object", description: "A File to upload.", diff --git a/www/utils/packages/docs-generator/src/classes/kinds/oas.ts b/www/utils/packages/docs-generator/src/classes/kinds/oas.ts index a97dcb5620854..8657ae76d4c4d 100644 --- a/www/utils/packages/docs-generator/src/classes/kinds/oas.ts +++ b/www/utils/packages/docs-generator/src/classes/kinds/oas.ts @@ -65,6 +65,7 @@ class OasKindGenerator extends FunctionKindGenerator { "MedusaRequest", "RequestWithContext", "AuthenticatedMedusaRequest", + "MedusaStoreRequest", ] // as it's not always possible to detect authenticated request // use this to override the default detection logic.