* chore: generate and update OAS for translations * support localization header * add locale to all store routes * fixes * small fix
23 lines
507 B
TypeScript
23 lines
507 B
TypeScript
/**
|
|
* @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)
|
|
*
|
|
*/
|
|
|