diff --git a/xero-app-store.yaml b/xero-app-store.yaml index 19bd55d65..5da0dafb9 100644 --- a/xero-app-store.yaml +++ b/xero-app-store.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero AppStore API description: These endpoints are for Xero Partners to interact with the App Store Billing platform termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-finance.yaml b/xero-finance.yaml index 774478963..1ec7c4bd5 100644 --- a/xero-finance.yaml +++ b/xero-finance.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero Finance API description: The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital. termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-identity.yaml b/xero-identity.yaml index 2a772ca41..e13a966a3 100644 --- a/xero-identity.yaml +++ b/xero-identity.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero OAuth 2 Identity Service API description: These endpoints are related to managing authentication tokens and identity for Xero API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-payroll-au.yaml b/xero-payroll-au.yaml index 47251c740..d52608e4a 100644 --- a/xero-payroll-au.yaml +++ b/xero-payroll-au.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: 'Xero Payroll AU API' description: 'This is the Xero Payroll API for orgs in Australia region.' termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" @@ -558,6 +558,7 @@ paths: ] }' requestBody: + required: true content: application/json: schema: @@ -2408,6 +2409,7 @@ paths: ] }' requestBody: + required: true content: application/json: schema: @@ -2658,6 +2660,7 @@ paths: ] }' requestBody: + required: true content: application/json: schema: @@ -3019,6 +3022,7 @@ paths: ] }' requestBody: + required: true content: application/json: schema: @@ -3536,6 +3540,7 @@ paths: ] }' requestBody: + required: true content: application/json: schema: diff --git a/xero-payroll-nz.yaml b/xero-payroll-nz.yaml index 7f704a2ac..7d3a6483c 100644 --- a/xero-payroll-nz.yaml +++ b/xero-payroll-nz.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.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/" diff --git a/xero-payroll-uk.yaml b/xero-payroll-uk.yaml index 52b9af9cc..593611a10 100644 --- a/xero-payroll-uk.yaml +++ b/xero-payroll-uk.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.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/" diff --git a/xero-projects.yaml b/xero-projects.yaml index 5ae083c71..5ace869d3 100644 --- a/xero-projects.yaml +++ b/xero-projects.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero Projects API description: This is the Xero Projects API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero_accounting.yaml b/xero_accounting.yaml index cea411670..fa6563d17 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: title: Xero Accounting API - version: "2.40.3" + version: "3.0.0" termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" contact: name: "Xero Platform Team" @@ -1600,9 +1600,9 @@ paths: csharp: BankTransaction object: bankTransaction parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type BankTransactions array with new BankTransaction @@ -1871,9 +1871,9 @@ paths: csharp: BankTransaction object: bankTransaction parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type BankTransactions array with new BankTransaction @@ -2306,9 +2306,9 @@ paths: csharp: BankTransaction object: bankTransaction parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/BankTransactionID' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type BankTransactions array with updated BankTransaction @@ -3968,8 +3968,8 @@ paths: csharp: Contact object: contact parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Contacts array with newly created Contact @@ -4273,8 +4273,8 @@ paths: csharp: Contact object: contact parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Contacts array with newly created Contact @@ -5804,9 +5804,9 @@ paths: csharp: CreditNote object: creditNote parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Credit Notes array of newly created CreditNote @@ -6090,9 +6090,9 @@ paths: csharp: CreditNote object: creditNote parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Credit Notes array of newly created CreditNote @@ -6533,9 +6533,9 @@ paths: csharp: CreditNote object: creditNote parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/CreditNoteID' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Credit Notes array with updated CreditNote @@ -6804,10 +6804,10 @@ paths: x-hasAccountingValidationError: true summary: Creates an attachment for a specific credit note parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/CreditNoteID' - $ref: '#/components/parameters/FileName' - $ref: '#/components/parameters/includeOnline' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Attachments array with newly created Attachment for specific Credit Note @@ -6940,9 +6940,9 @@ paths: csharp: Allocation object: allocation parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/CreditNoteID' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Allocations array with newly created Allocation for specific Credit Note @@ -7301,8 +7301,8 @@ paths: csharp: Employee object: employee parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Employees array with new Employee @@ -7388,8 +7388,8 @@ paths: csharp: Employee object: employee parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Employees array with new Employee @@ -8596,9 +8596,9 @@ paths: csharp: Invoice object: invoice parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Invoices array with newly created Invoice @@ -8943,9 +8943,9 @@ paths: csharp: Invoice object: invoice parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Invoices array with newly created Invoice @@ -9313,9 +9313,9 @@ paths: csharp: Invoice object: invoice parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/InvoiceID' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Invoices array with updated Invoice @@ -9598,10 +9598,10 @@ paths: x-hasAccountingValidationError: true summary: Creates an attachment for a specific invoice or purchase bill by filename parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/InvoiceID' - $ref: '#/components/parameters/FileName' - $ref: '#/components/parameters/includeOnline' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Attachments array with newly created Attachment @@ -9925,9 +9925,9 @@ paths: csharp: Item object: item parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Items array with newly created Item @@ -10024,9 +10024,9 @@ paths: csharp: Item object: item parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Items array with newly created Item @@ -10166,9 +10166,9 @@ paths: csharp: Item object: item parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/ItemID' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Items array with updated Item @@ -11159,8 +11159,8 @@ paths: csharp: ManualJournal object: manualJournal parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type ManualJournals array with newly created ManualJournal @@ -11393,8 +11393,8 @@ paths: csharp: ManualJournal object: manualJournal parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type ManualJournals array with newly created ManualJournal @@ -12568,9 +12568,9 @@ paths: csharp: Allocation object: allocation parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/OverpaymentID' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Allocations array with all Allocation for Overpayments @@ -12979,8 +12979,8 @@ paths: csharp: Payment object: payment parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Payments array for newly created Payment @@ -14021,9 +14021,9 @@ paths: csharp: Allocation object: allocation parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/PrepaymentID' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Allocations array of Allocation for all Prepayment @@ -14532,8 +14532,8 @@ paths: csharp: PurchaseOrder object: purchaseOrder parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type PurchaseOrder array for specified PurchaseOrder @@ -14808,8 +14808,8 @@ paths: csharp: PurchaseOrder object: purchaseOrder parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type PurchaseOrder array for specified PurchaseOrder @@ -15943,8 +15943,8 @@ paths: csharp: Quote object: quote parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Quotes with array with newly created Quote @@ -16152,8 +16152,8 @@ paths: csharp: Quote object: quote parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Quotes array with updated or created Quote @@ -16941,8 +16941,8 @@ paths: csharp: Receipt object: receipt parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Receipts array for newly created Receipt @@ -17296,9 +17296,9 @@ paths: csharp: Receipt object: receipt parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/ReceiptID' - $ref: '#/components/parameters/unitdp' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type Receipts array for updated Receipt @@ -17776,8 +17776,8 @@ paths: summary: Creates one or more repeating invoice templates x-hasAccountingValidationError: true parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type RepeatingInvoices array with newly created RepeatingInvoice @@ -17900,8 +17900,8 @@ paths: summary: Creates or deletes one or more repeating invoice templates x-hasAccountingValidationError: true parameters: - - $ref: '#/components/parameters/idempotencyKey' - $ref: '#/components/parameters/summarizeErrors' + - $ref: '#/components/parameters/idempotencyKey' responses: '200': description: Success - return response of type RepeatingInvoices array with newly created RepeatingInvoice diff --git a/xero_assets.yaml b/xero_assets.yaml index f8db3d293..8d0944775 100644 --- a/xero_assets.yaml +++ b/xero_assets.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero Assets API description: The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc. termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" @@ -595,6 +595,7 @@ paths: '409': description: a type already exists requestBody: + required: true content: application/json: schema: diff --git a/xero_bankfeeds.yaml b/xero_bankfeeds.yaml index 6699f8d92..f049417c1 100644 --- a/xero_bankfeeds.yaml +++ b/xero_bankfeeds.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "2.40.3" + version: "3.0.0" title: Xero Bank Feeds API description: The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. @@ -469,6 +469,7 @@ paths: } requestBody: description: Statements array of objects in the body + required: true content: application/json: schema: diff --git a/xero_files.yaml b/xero_files.yaml index de7232c98..1c95a3ad5 100644 --- a/xero_files.yaml +++ b/xero_files.yaml @@ -4,7 +4,7 @@ servers: url: https://api.xero.com/files.xro/1.0/ info: title: Xero Files API - version: "2.40.3" + version: "3.0.0" description: "These endpoints are specific to Xero Files API" termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" contact: @@ -140,6 +140,7 @@ paths: } ]' requestBody: + required: true content: multipart/form-data: schema: @@ -241,6 +242,7 @@ paths: } ]' requestBody: + required: true content: application/json: schema: @@ -326,6 +328,7 @@ paths: } ]' requestBody: + required: true content: multipart/form-data: schema: @@ -442,6 +445,7 @@ paths: } ]' requestBody: + required: true content: application/json: schema: @@ -671,6 +675,7 @@ paths: } ]' requestBody: + required: true content: application/json: schema: