From 87515f25e6232a4fe333a79f130bb5ec969fbe5a Mon Sep 17 00:00:00 2001 From: brunomiguelpinto Date: Thu, 6 Feb 2025 16:05:52 +0000 Subject: [PATCH] feat: add apply_taxes to current usage (#332) --- openapi.yaml | 9 +++++++++ src/resources/customer_current_usage.yaml | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index d9cd2cd..bbd6e77 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1186,6 +1186,15 @@ paths: schema: type: string example: sub_1234567890 + - name: apply_taxes + in: query + description: | + Optional flag to determine if taxes should be applied. Defaults to `true` if not provided or if null. + required: false + schema: + type: boolean + default: true + example: true operationId: findCustomerCurrentUsage responses: '200': diff --git a/src/resources/customer_current_usage.yaml b/src/resources/customer_current_usage.yaml index 8808ea2..f09341c 100644 --- a/src/resources/customer_current_usage.yaml +++ b/src/resources/customer_current_usage.yaml @@ -19,6 +19,16 @@ get: schema: type: string example: 'sub_1234567890' + - name: apply_taxes + in: query + description: > + Optional flag to determine if taxes should be applied. + Defaults to `true` if not provided or if null. + required: false + schema: + type: boolean + default: true + example: true operationId: findCustomerCurrentUsage responses: '200':