shared: use one LocalizedText type everywhere
auth, user, userbranch and org/branches each declared their own identical
{en, ru, tm} struct; they now use shared.LocalizedText. No JSON change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -112,7 +112,7 @@ definitions:
|
||||
active:
|
||||
type: boolean
|
||||
address:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
billingPassword:
|
||||
type: string
|
||||
billingSberPassword:
|
||||
@@ -130,7 +130,7 @@ definitions:
|
||||
billingVisaMasterUsername:
|
||||
type: string
|
||||
name:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
phoneNumbers:
|
||||
type: string
|
||||
provinceId:
|
||||
@@ -145,21 +145,12 @@ definitions:
|
||||
- region
|
||||
- uniqueCode
|
||||
type: object
|
||||
branches.LocalizedText:
|
||||
properties:
|
||||
en:
|
||||
type: string
|
||||
ru:
|
||||
type: string
|
||||
tm:
|
||||
type: string
|
||||
type: object
|
||||
branches.UpdateBranchDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
address:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
billingPassword:
|
||||
type: string
|
||||
billingSberPassword:
|
||||
@@ -177,7 +168,7 @@ definitions:
|
||||
billingVisaMasterUsername:
|
||||
type: string
|
||||
name:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
phoneNumbers:
|
||||
type: string
|
||||
provinceId:
|
||||
|
||||
Reference in New Issue
Block a user