fix(medusa-oas-cli): Fix incorrect import (#9404)
* fix(medusa-oas-cli): Fix incorrect import * update redocly config
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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, "../")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user