chore: generate and update OAS for translations (#14281)
* chore: generate and update OAS for translations * support localization header * add locale to all store routes * fixes * small fix
This commit is contained in:
@@ -209,6 +209,18 @@ tags:
|
||||
url: https://docs.medusajs.com/resources/commerce-modules/user
|
||||
x-associatedSchema:
|
||||
$ref: "#/components/schemas/AdminInvite"
|
||||
- name: Locales
|
||||
description: >
|
||||
A locale is a language that content is translated into for customers to view
|
||||
in a storefront.
|
||||
|
||||
Medusa installs locales by default. These API routes allow admin users to retrieve
|
||||
and view locales.
|
||||
externalDocs:
|
||||
description: Learn more about locales and translations.
|
||||
url: https://docs.medusajs.com/resources/commerce-modules/translation/concepts
|
||||
x-associatedSchema:
|
||||
$ref: "#/components/schemas/AdminLocale"
|
||||
- name: Notifications
|
||||
description: >
|
||||
A notification informs an admin user of store changes or status changes of
|
||||
@@ -221,8 +233,8 @@ tags:
|
||||
- name: Order Changes
|
||||
description: >
|
||||
An order change is a proposed change to an order, such as adding or
|
||||
removing items, changing shipping methods, and more. They can be associated
|
||||
with order edits, claims, or exchanges.
|
||||
removing items, changing shipping methods, and more. They can be
|
||||
associated with order edits, claims, or exchanges.
|
||||
|
||||
These API routes allow admin users to manage order changes.
|
||||
externalDocs:
|
||||
@@ -642,6 +654,18 @@ tags:
|
||||
</Note>
|
||||
x-associatedSchema:
|
||||
$ref: "#/components/schemas/AdminTransactionGroup"
|
||||
- name: Translations
|
||||
description: >
|
||||
A translation is a localized version of content in a specific locale. For
|
||||
example, a product description in French.
|
||||
|
||||
These API routes allow admin users to manage translations for different
|
||||
locales and resources.
|
||||
externalDocs:
|
||||
description: Learn more about the Translation Module.
|
||||
url: https://docs.medusajs.com/resources/commerce-modules/translation
|
||||
x-associatedSchema:
|
||||
$ref: "#/components/schemas/AdminTranslation"
|
||||
- name: Uploads
|
||||
description: >
|
||||
Use these API routes to upload files to your Medusa application using the
|
||||
|
||||
Reference in New Issue
Block a user