From bc82341943e707781cc81cb65373983b5bf250f4 Mon Sep 17 00:00:00 2001 From: SidneyAllen Date: Wed, 12 Feb 2020 16:24:17 -0800 Subject: [PATCH] Clean up info & server details bump version of all specs to 2.0.0 --- accounting-yaml/Xero_accounting_2.0.0_swagger.yaml | 6 +++--- assets-yaml/Xero_assets_1.0.0_swagger.yaml | 2 +- bankfeeds-yaml/Xero_bankfeeds_1.0.0_swagger.yaml | 12 +++++++----- identity-yaml/Xero-identity-1.0.0-swagger.yaml | 10 +++++++--- payroll-au-yaml/Xero-payroll-au-1.0.0-swagger.yaml | 11 +++++++---- projects-yaml/Xero-projects-1.0.0-swagger.yaml | 2 +- 6 files changed, 26 insertions(+), 17 deletions(-) diff --git a/accounting-yaml/Xero_accounting_2.0.0_swagger.yaml b/accounting-yaml/Xero_accounting_2.0.0_swagger.yaml index 4453e8b28..8996ce977 100644 --- a/accounting-yaml/Xero_accounting_2.0.0_swagger.yaml +++ b/accounting-yaml/Xero_accounting_2.0.0_swagger.yaml @@ -1,7 +1,4 @@ openapi: 3.0.0 -servers: - - url: 'https://api.xero.com/api.xro/2.0' - - url: 'https://virtserver.swaggerhub.com/Xero/accounting/2.0.0' info: title: Accounting API version: "2.0.0" @@ -10,6 +7,9 @@ info: name: "Xero Platform Team" email: "api@xero.com" url: "https://developer.xero.com" +servers: + - description: Xero Accounting API servers + url: https://api.xero.com/api.xro/2.0 paths: /Accounts: parameters: diff --git a/assets-yaml/Xero_assets_1.0.0_swagger.yaml b/assets-yaml/Xero_assets_1.0.0_swagger.yaml index 7ac2e099d..83eff49b0 100644 --- a/assets-yaml/Xero_assets_1.0.0_swagger.yaml +++ b/assets-yaml/Xero_assets_1.0.0_swagger.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "1.0.0" + version: "2.0.0" title: Xero Assets API description: This is the Xero Assets API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/bankfeeds-yaml/Xero_bankfeeds_1.0.0_swagger.yaml b/bankfeeds-yaml/Xero_bankfeeds_1.0.0_swagger.yaml index 997dc667a..9eb83ec26 100644 --- a/bankfeeds-yaml/Xero_bankfeeds_1.0.0_swagger.yaml +++ b/bankfeeds-yaml/Xero_bankfeeds_1.0.0_swagger.yaml @@ -1,11 +1,13 @@ openapi: 3.0.0 info: - version: "1.0.0" + version: "2.0.0" title: Bank Feeds API - description: The Xero Bank Feeds API - contact: - name: Xero API team - email: api@xero.com + description: This specifing endpoints Xero Bank feeds API + termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" + contact: + name: "Xero Platform Team" + email: "api@xero.com" + url: "https://developer.xero.com" license: name: MIT url: 'https://github.com/XeroAPI/Xero-OpenAPI/blob/master/LICENSE' diff --git a/identity-yaml/Xero-identity-1.0.0-swagger.yaml b/identity-yaml/Xero-identity-1.0.0-swagger.yaml index 0e544604b..ac7260a2b 100644 --- a/identity-yaml/Xero-identity-1.0.0-swagger.yaml +++ b/identity-yaml/Xero-identity-1.0.0-swagger.yaml @@ -1,8 +1,6 @@ openapi: 3.0.0 -servers: - - url: 'https://api.xero.com' info: - version: "1.0.0" + version: "2.0.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/" @@ -10,6 +8,12 @@ info: name: "Xero Platform Team" email: "api@xero.com" url: "https://developer.xero.com" + license: + name: MIT + url: 'https://github.com/XeroAPI/Xero-OpenAPI/blob/master/LICENSE' +servers: + - description: Xero Identity service API + url: 'https://api.xero.com' paths: /connections: get: diff --git a/payroll-au-yaml/Xero-payroll-au-1.0.0-swagger.yaml b/payroll-au-yaml/Xero-payroll-au-1.0.0-swagger.yaml index ea2937968..2a8526e2d 100644 --- a/payroll-au-yaml/Xero-payroll-au-1.0.0-swagger.yaml +++ b/payroll-au-yaml/Xero-payroll-au-1.0.0-swagger.yaml @@ -1,9 +1,6 @@ openapi: 3.0.0 -servers: - - description: Xero Payroll AU API - url: https://api.xero.com/payroll.xro/1.0/ info: - version: '1.0.0' + version: '2.0.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/" @@ -11,6 +8,12 @@ info: name: "Xero Platform Team" email: "api@xero.com" url: "https://developer.xero.com" + license: + name: MIT + url: 'https://github.com/XeroAPI/Xero-OpenAPI/blob/master/LICENSE' +servers: + - description: Xero Payroll AU API + url: https://api.xero.com/payroll.xro/1.0/ tags: - name: PayrollAU description: Operations available to regular developers diff --git a/projects-yaml/Xero-projects-1.0.0-swagger.yaml b/projects-yaml/Xero-projects-1.0.0-swagger.yaml index 607306fe2..7b5c9528f 100644 --- a/projects-yaml/Xero-projects-1.0.0-swagger.yaml +++ b/projects-yaml/Xero-projects-1.0.0-swagger.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "1.0.0" + version: "2.0.0" title: Xero Projects API description: This is the Xero Projects API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"