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:
Shahed Nasser
2025-12-16 15:52:33 +02:00
committed by GitHub
parent 6815b3d7db
commit 53cdbaa069
75 changed files with 2322 additions and 6 deletions
@@ -0,0 +1,46 @@
/**
* @schema AdminStoreLocale
* type: object
* description: The details of a store's locale.
* x-schemaName: AdminStoreLocale
* required:
* - id
* - locale_code
* - store_id
* - locale
* - created_at
* - updated_at
* - deleted_at
* properties:
* id:
* type: string
* title: id
* description: The locale's ID.
* locale_code:
* type: string
* title: locale_code
* description: The locale's code in BCP 47 format.
* store_id:
* type: string
* title: store_id
* description: The ID of the store to which the locale belongs.
* locale:
* $ref: "#/components/schemas/AdminLocale"
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The date the locale was created.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The date the locale was updated.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The date the locale was deleted.
*
*/