chore(docs): Updated API Reference (#3142)

* chore(docs): Generated API Reference

* Update admin-spec3.json

* Update admin-spec3.yaml

* Update openapi.yaml

---------

Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-01-30 15:37:43 +02:00
1 parent 6f058b389b
commit 061a0a37fa
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -3313,7 +3313,7 @@ paths:
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries:
3 }) 3 })
medusa.store.productTags.list() medusa.productTags.list()
.then(({ product_tags }) => { .then(({ product_tags }) => {
console.log(product_tags.length); console.log(product_tags.length);
@@ -3463,7 +3463,7 @@ paths:
// must be previously logged in or use api token // must be previously logged in or use api token
medusa.store.productTypes.list() medusa.productTypes.list()
.then(({ product_types }) => { .then(({ product_types }) => {
console.log(product_types.length); console.log(product_types.length);
+2 -2
View File
@@ -3313,7 +3313,7 @@ paths:
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries:
3 }) 3 })
medusa.store.productTags.list() medusa.productTags.list()
.then(({ product_tags }) => { .then(({ product_tags }) => {
console.log(product_tags.length); console.log(product_tags.length);
@@ -3463,7 +3463,7 @@ paths:
// must be previously logged in or use api token // must be previously logged in or use api token
medusa.store.productTypes.list() medusa.productTypes.list()
.then(({ product_types }) => { .then(({ product_types }) => {
console.log(product_types.length); console.log(product_types.length);
@@ -1,6 +1,6 @@
import Medusa from "@medusajs/medusa-js" import Medusa from "@medusajs/medusa-js"
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 }) const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
medusa.store.productTags.list() medusa.productTags.list()
.then(({ product_tags }) => { .then(({ product_tags }) => {
console.log(product_tags.length); console.log(product_tags.length);
}); });
@@ -1,7 +1,7 @@
import Medusa from "@medusajs/medusa-js" import Medusa from "@medusajs/medusa-js"
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 }) const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
// must be previously logged in or use api token // must be previously logged in or use api token
medusa.store.productTypes.list() medusa.productTypes.list()
.then(({ product_types }) => { .then(({ product_types }) => {
console.log(product_types.length); console.log(product_types.length);
}); });