Skip to content

Commit

Permalink
Merge pull request #338 from XeroAPI/sid-development
Browse files Browse the repository at this point in the history
Split Address componenet into 2 instances
  • Loading branch information
SidneyAllen authored Dec 11, 2020
2 parents 65f6639 + 5c7aca8 commit c830b5b
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 11 deletions.
2 changes: 1 addition & 1 deletion xero-identity.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.6.1"
version: "2.7.0"
title: Xero oAuth 2 identity service
description: This specifing endpoints related to managing authentication tokens and identity for Xero API
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-au.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.6.1'
version: '2.7.0'
title: 'Xero Payroll AU'
description: 'This is the Xero Payroll API for orgs in Australia region.'
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-nz.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.6.1'
version: '2.7.0'
title: 'Xero Payroll NZ'
description: 'This is the Xero Payroll API for orgs in the NZ region.'
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-uk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.6.1'
version: '2.7.0'
title: 'Xero Payroll UK'
description: 'This is the Xero Payroll API for orgs in the UK region.'
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero-projects.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.6.1"
version: "2.7.0"
title: Xero Projects API
description: This is the Xero Projects API
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
53 changes: 50 additions & 3 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: Accounting API
version: "2.6.1"
version: "2.7.0"
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
contact:
name: "Xero Platform Team"
Expand Down Expand Up @@ -19202,7 +19202,7 @@ components:
]
}'
schemas:
Address:
AddressForOrganisation:
externalDocs:
url: 'http://developer.xero.com/documentation/api/types'
properties:
Expand Down Expand Up @@ -19250,6 +19250,53 @@ components:
maxLength: 255
type: string
type: object
Address:
externalDocs:
url: 'http://developer.xero.com/documentation/api/types'
properties:
AddressType:
description: define the type of address
type: string
enum:
- POBOX
- STREET
AddressLine1:
description: max length = 500
maxLength: 500
type: string
AddressLine2:
description: max length = 500
maxLength: 500
type: string
AddressLine3:
description: max length = 500
maxLength: 500
type: string
AddressLine4:
description: max length = 500
maxLength: 500
type: string
City:
description: max length = 255
maxLength: 255
type: string
Region:
description: max length = 255
maxLength: 255
type: string
PostalCode:
description: max length = 50
maxLength: 50
type: string
Country:
description: 'max length = 50, [A-Z], [a-z] only'
maxLength: 50
type: string
AttentionTo:
description: max length = 255
maxLength: 255
type: string
type: object
Phone:
externalDocs:
url: 'http://developer.xero.com/documentation/api/types'
Expand Down Expand Up @@ -21868,7 +21915,7 @@ components:
description: Address details for organisation – see Addresses
type: array
items:
$ref: '#/components/schemas/Address'
$ref: '#/components/schemas/AddressForOrganisation'
Phones:
description: Phones details for organisation – see Phones
type: array
Expand Down
2 changes: 1 addition & 1 deletion xero_assets.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.6.1"
version: "2.7.0"
title: Xero Assets API
description: This is the Xero Assets API
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero_bankfeeds.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.6.1"
version: "2.7.0"
title: Bank Feeds API
description: This specifing endpoints Xero Bank feeds API
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
2 changes: 1 addition & 1 deletion xero_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ servers:
url: https://api.xero.com/files.xro/1.0/
info:
title: Xero Files API
version: "2.6.1"
version: "2.7.0"
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
contact:
name: "Xero Platform Team"
Expand Down

0 comments on commit c830b5b

Please sign in to comment.