chore(docs): Generated API Reference (#3211)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
9997485c55
commit
14b2de94e2
@@ -2,27 +2,29 @@ title: Country
|
||||
description: Country details
|
||||
type: object
|
||||
required:
|
||||
- display_name
|
||||
- id
|
||||
- iso_2
|
||||
- iso_3
|
||||
- num_code
|
||||
- name
|
||||
- display_name
|
||||
- num_code
|
||||
- region_id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: The country's ID
|
||||
type: string
|
||||
example: 109
|
||||
iso_2:
|
||||
type: string
|
||||
description: The 2 character ISO code of the country in lower case
|
||||
type: string
|
||||
example: it
|
||||
externalDocs:
|
||||
url: >-
|
||||
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
|
||||
description: See a list of codes.
|
||||
iso_3:
|
||||
type: string
|
||||
description: The 2 character ISO code of the country in lower case
|
||||
type: string
|
||||
example: ita
|
||||
externalDocs:
|
||||
url: >-
|
||||
@@ -45,9 +47,11 @@ properties:
|
||||
type: string
|
||||
example: Italy
|
||||
region_id:
|
||||
type: string
|
||||
description: The region ID this country is associated with.
|
||||
nullable: true
|
||||
type: string
|
||||
example: reg_01G1G5V26T9H8Y0M4JNE3YGA4G
|
||||
region:
|
||||
description: A region object. Available if the relation `region` is expanded.
|
||||
type: object
|
||||
nullable: true
|
||||
$ref: ./Region.yaml
|
||||
|
||||
Reference in New Issue
Block a user