docs: generate OAS for v2 (#7883)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-01 15:35:45 +03:00
1 parent 8fde57263f
commit b9036eca1a
1103 files changed
+125727 -22463

No files matched your search

@@ -9,6 +9,8 @@ tags:
- name: Api Keys
- name: Campaigns
- name: Collections
x-associatedSchema:
$ref: "#/components/schemas/AdminCollection"
- name: Currencies
description: >
A store can use unlimited currencies, and each region must be associated
@@ -19,6 +21,8 @@ tags:
description: How to manage currencies
url: https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies
- name: Customer Groups
x-associatedSchema:
$ref: "#/components/schemas/AdminCustomerGroup"
- name: Customers
description: >
Customers can either be created when they register through the Store APIs,
@@ -26,9 +30,15 @@ tags:
externalDocs:
description: How to manage customers
url: https://docs.medusajs.com/modules/customers/admin/manage-customers
x-associatedSchema:
$ref: "#/components/schemas/AdminCustomer"
- name: Draft Orders
- name: Fulfillment Providers
x-associatedSchema:
$ref: "#/components/schemas/AdminFulfillmentProvider"
- name: Fulfillment Sets
x-associatedSchema:
$ref: "#/components/schemas/AdminFulfillmentSet"
- name: Fulfillments
- name: Inventory Items
- name: Invites
@@ -41,13 +51,15 @@ tags:
- name: Orders
- name: Payments
- name: Price Lists
- name: Pricing
- name: Product Categories
x-associatedSchema:
$ref: "#/components/schemas/AdminProductCategory"
- name: Product Tags
- name: Product Types
- name: Products
- name: Promotions
x-associatedSchema:
$ref: "#/components/schemas/Promotion"
$ref: "#/components/schemas/AdminProduct"
- name: Promotions
- name: Regions
description: >
Regions are different countries or geographical regions that the commerce
@@ -58,6 +70,8 @@ tags:
description: How to manage regions
url: https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions
- name: Reservations
- name: Return Reasons
- name: Returns
- name: Sales Channels
description: >
A sales channel indicates a channel where products can be sold in. For
@@ -67,8 +81,14 @@ tags:
externalDocs:
description: How to manage sales channels
url: https://docs.medusajs.com/modules/sales-channels/admin/manage
x-associatedSchema:
$ref: "#/components/schemas/AdminSalesChannel"
- name: Shipping Options
x-associatedSchema:
$ref: "#/components/schemas/AdminShippingOption"
- name: Shipping Profiles
x-associatedSchema:
$ref: "#/components/schemas/AdminShippingProfile"
- name: Stock Locations
- name: Stores
- name: Tax Rates
@@ -18,12 +18,18 @@ tags:
- name: Collections
- name: Currencies
- name: Customers
- name: Orders
- name: Payment Collections
description: >
A payment collection is useful for managing additional payments, such as
for Order Edits, or installment payments.
- name: Payment Providers
- name: Product Categories
x-associatedSchema:
$ref: "#/components/schemas/StoreProductCategory"
- name: Products
x-associatedSchema:
$ref: "#/components/schemas/StoreProduct"
- name: Regions
description: >
Regions are different countries or geographical regions that the commerce
@@ -33,6 +39,8 @@ tags:
externalDocs:
description: How to use regions in a storefront
url: https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions
- name: Return
- name: Return Reasons
- name: Shipping Options
servers:
- url: http://localhost:9000