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 authored and GitHub committed 2025-12-16 15:52:33 +02:00
1 parent 6815b3d7db
commit 53cdbaa069
75 files changed
+2322 -6

No files matched your search

@@ -0,0 +1,47 @@
/**
* @schema AdminTranslationsBatchResponse
* type: object
* description: The batch response for managing translations.
* x-schemaName: AdminTranslationsBatchResponse
* required:
* - created
* - updated
* - deleted
* properties:
* created:
* type: array
* description: The created translations.
* items:
* $ref: "#/components/schemas/AdminTranslation"
* updated:
* type: array
* description: The updated translations.
* items:
* $ref: "#/components/schemas/AdminTranslation"
* deleted:
* type: object
* description: Summary of the deleted translations.
* required:
* - ids
* - object
* - deleted
* properties:
* ids:
* type: array
* description: The IDs of the deleted translations.
* items:
* type: string
* title: ids
* description: A translation ID.
* object:
* type: string
* title: object
* description: The type of object deleted.
* default: translation
* deleted:
* type: boolean
* title: deleted
* description: Whether the translations were successfully deleted.
*
*/