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,22 @@
|
||||
/**
|
||||
* @schema StoreLocale
|
||||
* type: object
|
||||
* description: The store locale's details.
|
||||
* x-schemaName: StoreLocale
|
||||
* required:
|
||||
* - code
|
||||
* - name
|
||||
* properties:
|
||||
* code:
|
||||
* type: string
|
||||
* title: code
|
||||
* description: The locale's code in [BCP 47 format](https://gist.github.com/typpo/b2b828a35e683b9bf8db91b5404f1bd1).
|
||||
* example: en-US
|
||||
* name:
|
||||
* type: string
|
||||
* title: name
|
||||
* description: The locale's display name.
|
||||
* example: English (United States)
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user