From c9b78d2a296c01df59ce8fa0cc8f95b63ca2309b Mon Sep 17 00:00:00 2001 From: Mark Helt Date: Mon, 18 Mar 2024 17:06:22 -0600 Subject: [PATCH] [#183477647] Add includeMs to billing --- components/parameters/includeMs.yaml | 6 ++++++ paths/api@billing@account.yaml | 1 + paths/api@billing@account@id.yaml | 1 + paths/api@billing@instances.yaml | 1 + paths/api@billing@instances@identifier.yaml | 1 + paths/api@billing@servers.yaml | 1 + paths/api@billing@servers@identifier.yaml | 1 + paths/api@billing@zones.yaml | 1 + paths/api@billing@zones@identifier.yaml | 1 + 9 files changed, 14 insertions(+) create mode 100644 components/parameters/includeMs.yaml diff --git a/components/parameters/includeMs.yaml b/components/parameters/includeMs.yaml new file mode 100644 index 00000000..f845508f --- /dev/null +++ b/components/parameters/includeMs.yaml @@ -0,0 +1,6 @@ +name: includeMs +in: query +description: Optional ability to include milliseconds +schema: + type: boolean + default: false diff --git a/paths/api@billing@account.yaml b/paths/api@billing@account.yaml index 850e5f90..ed0b5cb5 100644 --- a/paths/api@billing@account.yaml +++ b/paths/api@billing@account.yaml @@ -19,6 +19,7 @@ get: - $ref: ../components/parameters/includeLoadBalancers.yaml - $ref: ../components/parameters/includeVirtualImages.yaml - $ref: ../components/parameters/includeSnapshots.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@account@id.yaml b/paths/api@billing@account@id.yaml index 1f5967c2..822275f2 100644 --- a/paths/api@billing@account@id.yaml +++ b/paths/api@billing@account@id.yaml @@ -18,6 +18,7 @@ get: - $ref: ../components/parameters/includeVirtualImages.yaml - $ref: ../components/parameters/includeSnapshots.yaml - $ref: ../components/parameters/id-path.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@instances.yaml b/paths/api@billing@instances.yaml index 43cf75dd..1562ce58 100644 --- a/paths/api@billing@instances.yaml +++ b/paths/api@billing@instances.yaml @@ -15,6 +15,7 @@ get: - $ref: ../components/parameters/offsetUsages.yaml - $ref: ../components/parameters/includeTenants.yaml - $ref: ../components/parameters/accountId.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@instances@identifier.yaml b/paths/api@billing@instances@identifier.yaml index 74e64071..4a40cdfe 100644 --- a/paths/api@billing@instances@identifier.yaml +++ b/paths/api@billing@instances@identifier.yaml @@ -16,6 +16,7 @@ get: - $ref: ../components/parameters/includeTenants.yaml - $ref: ../components/parameters/accountId.yaml - $ref: ../components/parameters/identifier-path.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@servers.yaml b/paths/api@billing@servers.yaml index 8870b3b0..2fa82816 100644 --- a/paths/api@billing@servers.yaml +++ b/paths/api@billing@servers.yaml @@ -15,6 +15,7 @@ get: - $ref: ../components/parameters/offsetUsages.yaml - $ref: ../components/parameters/includeTenants.yaml - $ref: ../components/parameters/accountId.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@servers@identifier.yaml b/paths/api@billing@servers@identifier.yaml index 4bc84347..32658512 100644 --- a/paths/api@billing@servers@identifier.yaml +++ b/paths/api@billing@servers@identifier.yaml @@ -16,6 +16,7 @@ get: - $ref: ../components/parameters/includeTenants.yaml - $ref: ../components/parameters/accountId.yaml - $ref: ../components/parameters/identifier-path.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@zones.yaml b/paths/api@billing@zones.yaml index 62a5e165..03466ed3 100644 --- a/paths/api@billing@zones.yaml +++ b/paths/api@billing@zones.yaml @@ -19,6 +19,7 @@ get: - $ref: ../components/parameters/includeLoadBalancers.yaml - $ref: ../components/parameters/includeVirtualImages.yaml - $ref: ../components/parameters/includeSnapshots.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing diff --git a/paths/api@billing@zones@identifier.yaml b/paths/api@billing@zones@identifier.yaml index 193c3df8..bb2ed43e 100644 --- a/paths/api@billing@zones@identifier.yaml +++ b/paths/api@billing@zones@identifier.yaml @@ -20,6 +20,7 @@ get: - $ref: ../components/parameters/includeVirtualImages.yaml - $ref: ../components/parameters/includeSnapshots.yaml - $ref: ../components/parameters/identifier-path.yaml + - $ref: ../components/parameters/includeMs.yaml responses: '200': description: Array of Billing