fix(medusa-oas-cli): Fix incorrect import (#9404)

* fix(medusa-oas-cli): Fix incorrect import

* update redocly config
This commit is contained in:
Shahed Nasser
2024-10-02 10:28:42 +03:00
committed by GitHub
parent 7bc7c50eef
commit a662c4b020
2 changed files with 64 additions and 1 deletions

View File

@@ -29,10 +29,12 @@ decorators:
- AdminProduct
AdminProduct:
- AdminProduct
- BaseProductOption
AdminStockLocation:
- AdminFulfillmentSet
OrderChange:
- Order
- Return
StoreShippingOption:
- StoreShippingOption
AdminServiceZone:
@@ -44,6 +46,67 @@ decorators:
- AdminTaxRate
AdminInventoryLevel:
- AdminInventoryItem
AdminCustomerGroup:
- AdminCustomer
AdminOrderLineItem:
- BaseOrderItemDetail
AdminProductVariant:
- AdminProduct
BaseCapture:
- BasePayment
BaseCartLineItem:
- BaseLineItemTaxLine
BaseLineItemAdjustment:
- BaseCartLineItem
BaseOrderChangeAction:
- AdminOrderChange
BaseOrderLineItemTaxLine:
- BaseOrderLineItem
BaseOrderShippingMethodTaxLine:
- BaseOrderShippingMethod
BasePayment:
- BasePaymentSession
- BasePaymentCollection
BasePaymentSession:
- BasePaymentCollection
BaseProductOptionValue:
- BaseProductOption
BaseShippingMethodTaxLine:
- BaseCartShippingMethod
OrderChangeAction:
- OrderChange
OrderLineItemTaxLine:
- OrderLineItem
OrderShippingMethodTaxLine:
- OrderShippingMethod
StoreCartLineItem:
- StoreCart
StoreCollection:
- StoreProduct
StoreProductCategory:
- StoreProductCategory
BaseCart:
- BaseCartLineItem
BaseOrderLineItemAdjustment:
- BaseOrderLineItem
BaseOrderShippingMethodAdjustment:
- BaseOrderShippingMethod
BaseRefund:
- BasePayment
BaseShippingMethodAdjustment:
- BaseCartShippingMethod
Order:
- OrderChange
OrderClaim:
- Return
OrderLineItemAdjustment:
- OrderLineItem
OrderShippingMethodAdjustment:
- OrderShippingMethod
BaseProductOption:
- BaseProduct
OrderItem:
- OrderLineItem
theme:
openapi:
theme:

View File

@@ -16,7 +16,7 @@ import { isFile } from "./utils/fs-utils"
*/
// Medusa core package directory
const medusaPackagePath = path.dirname(
require.resolve("@medusajs/medusa/package.json")
require.resolve("@medusajs/medusa")
)
const basePath = path.resolve(__dirname, "../")