From baa70aa99b714e519427f0ad4374fe926f849f37 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 11 Feb 2023 16:27:03 +1100 Subject: [PATCH] Working on new openapi spec --- openapi/api-docs.yaml | 23 ++++++++++++++++++++--- openapi/components/components.yaml | 9 ++++++++- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 64e2c1e26127..b80c4d2fef95 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -14955,7 +14955,7 @@ components: client: $ref: '#/components/schemas/Client' contact: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/ClientContact' recurring_invoice: $ref: '#/components/schemas/RecurringInvoice' invoice: @@ -14964,8 +14964,18 @@ components: $ref: '#/components/schemas/Credit' quote: $ref: '#/components/schemas/Quote' - - + payment: + $ref: '#/components/schemas/Payment' + expense: + $ref: '#/components/schemas/Expense' + task: + $ref: '#/components/schemas/Task' + purchase_order: + $ref: '#/components/schemas/PurchaseOrder' + vendor: + $ref: '#/components/schemas/Vendor' + vendor_contact: + $ref: '#/components/schemas/VendorContact' type: object BTRules: properties: @@ -17516,6 +17526,13 @@ components: type: string example: 'New Project' type: object + PurchaseOrder: + properties: + id: + description: 'The purchase order hashed id' + type: string + example: Opnel5aKBz + type: object Quote: properties: id: diff --git a/openapi/components/components.yaml b/openapi/components/components.yaml index ca70c4905e25..15f974c58526 100644 --- a/openapi/components/components.yaml +++ b/openapi/components/components.yaml @@ -78,7 +78,7 @@ components: client: $ref: '#/components/schemas/Client' contact: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/ClientContact' recurring_invoice: $ref: '#/components/schemas/RecurringInvoice' invoice: @@ -2649,6 +2649,13 @@ components: type: string example: 'New Project' type: object + PurchaseOrder: + properties: + id: + description: 'The purchase order hashed id' + type: string + example: Opnel5aKBz + type: object Quote: properties: id: