docs: oas (#197)
Adds OpenAPI specification of Storefront and Admin APIs. Updates docs project.
This commit is contained in:
74
docs/api/admin-spec3-base.json
Normal file
74
docs/api/admin-spec3-base.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"openapi": "3.0.0",
|
||||
"info": {
|
||||
"version": "1.0.0",
|
||||
"title": "Medusa Admin API",
|
||||
"license": {
|
||||
"name": "MIT"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "Auth",
|
||||
"description": "Auth endpoints allows authorization of admin Users and manages their sessions."
|
||||
},
|
||||
{
|
||||
"name": "Collection",
|
||||
"x-resourceId": "product_collection"
|
||||
},
|
||||
{
|
||||
"name": "Customer",
|
||||
"x-resourceId": "customer"
|
||||
},
|
||||
{
|
||||
"name": "Discount",
|
||||
"x-resourceId": "discount"
|
||||
},
|
||||
{
|
||||
"name": "Gift Card",
|
||||
"x-resourceId": "gift_card"
|
||||
},
|
||||
{
|
||||
"name": "Notification",
|
||||
"x-resourceId": "notification"
|
||||
},
|
||||
{
|
||||
"name": "Order",
|
||||
"x-resourceId": "order"
|
||||
},
|
||||
{
|
||||
"name": "Product",
|
||||
"x-resourceId": "product"
|
||||
},
|
||||
{
|
||||
"name": "Region",
|
||||
"x-resourceId": "region"
|
||||
},
|
||||
{
|
||||
"name": "Return",
|
||||
"x-resourceId": "return"
|
||||
},
|
||||
{
|
||||
"name": "Shipping Option",
|
||||
"x-resourceId": "shipping_option"
|
||||
},
|
||||
{
|
||||
"name": "Shipping Profile",
|
||||
"x-resourceId": "shipping_profile"
|
||||
},
|
||||
{
|
||||
"name": "Swap",
|
||||
"x-resourceId": "swap"
|
||||
},
|
||||
{
|
||||
"name": "Product Variant",
|
||||
"x-resourceId": "product_variant"
|
||||
}
|
||||
],
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://api.medusa-commerce.com/admin"
|
||||
}
|
||||
],
|
||||
"paths": {}
|
||||
}
|
||||
Reference in New Issue
Block a user