Changing postal_code data type to string.

Data type returned from Plex is string, and in some countries the postal_code contains spaces ("811 06" in Slovakia) or string characters ("SW1A 1AA" in UK).
This commit is contained in:
František Augusztin
2024-06-13 20:10:11 +02:00
parent 4b62053181
commit 41c679888a
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ post:
type: string type: string
example: America/Chicago example: America/Chicago
postal_code: postal_code:
type: number type: string
example: 78732 example: 78732
in_privacy_restricted_country: in_privacy_restricted_country:
type: boolean type: boolean

View File

@@ -65,7 +65,7 @@ get:
type: string type: string
example: America/Chicago example: America/Chicago
postal_code: postal_code:
type: number type: string
example: 78732 example: 78732
in_privacy_restricted_country: in_privacy_restricted_country:
type: boolean type: boolean

View File

@@ -69,7 +69,7 @@ post:
type: string type: string
example: America/Chicago example: America/Chicago
postal_code: postal_code:
type: number type: string
example: 78732 example: 78732
in_privacy_restricted_country: in_privacy_restricted_country:
type: boolean type: boolean