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:
1 parent
6815b3d7db
commit
53cdbaa069
75 files changed
+2322
-6
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @schema AdminTranslationSettingsResponse
|
||||
* type: object
|
||||
* description: The translation settings' details.
|
||||
* x-schemaName: AdminTranslationSettingsResponse
|
||||
* required:
|
||||
* - translatable_fields
|
||||
* properties:
|
||||
* translatable_fields:
|
||||
* type: object
|
||||
* description: Key-value pairs of translatable fields for different entities. Each key is an entity type, and the value is an array of fields that can be translated for that entity.
|
||||
* example:
|
||||
* product: ["title", "description"]
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user