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:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @schema AdminUpdateStoreSupportedLocale
|
||||
* type: object
|
||||
* description: The payload to update a store's supported locale.
|
||||
* x-schemaName: AdminUpdateStoreSupportedLocale
|
||||
* required:
|
||||
* - locale_code
|
||||
* properties:
|
||||
* locale_code:
|
||||
* type: string
|
||||
* title: locale_code
|
||||
* description: The locale's code in [BCP 47 format](https://gist.github.com/typpo/b2b828a35e683b9bf8db91b5404f1bd1).
|
||||
* example: fr-FR
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user