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:
github-actions[bot]
2023-01-30 15:37:43 +02:00
committed by GitHub
parent 6f058b389b
commit 061a0a37fa
4 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
import Medusa from "@medusajs/medusa-js"
const medusa = new Medusa({ baseUrl: MEDUSA_BACKEND_URL, maxRetries: 3 })
medusa.store.productTags.list()
medusa.productTags.list()
.then(({ product_tags }) => {
console.log(product_tags.length);
});

View File

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