From 92d3db98fc8c08c0a7fc8c68416419c8e69c31fd Mon Sep 17 00:00:00 2001 From: AnuBose Date: Thu, 9 Feb 2023 15:45:24 -0600 Subject: [PATCH] change allocation capacity to float (#67) * change allocation caapcity to float * Bump go version * [auto generated] Checking in generated offline HTML doc --------- Co-authored-by: Neil Gierman Co-authored-by: neilgierman Co-authored-by: chaitra-mylarappachar <65302544+chaitra-mylarappachar@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .../components/schemas/AllocationStorage.yaml | 2 +- .../components/schemas/ServiceStorageInfo.yaml | 4 +++- v1/html/index.html | 2 +- v1/pkg/client/api/openapi.yaml | 12 +++++++----- v1/pkg/client/docs/ServiceStorageInfo.md | 2 +- v1/pkg/client/model_allocation_storage.go | 2 +- v1/pkg/client/model_service_storage_info.go | 2 +- 8 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccf4a991..42ad3cca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,4 +61,4 @@ jobs: [auto generated] Checking in generated offline HTML doc BRANCH_REF: ${{ github.event.pull_request.head.ref }} REPOSITORY: ${{ github.repository }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/v1/api/swagger/components/schemas/AllocationStorage.yaml b/v1/api/swagger/components/schemas/AllocationStorage.yaml index 537389d9..17f412b1 100644 --- a/v1/api/swagger/components/schemas/AllocationStorage.yaml +++ b/v1/api/swagger/components/schemas/AllocationStorage.yaml @@ -1,5 +1,5 @@ type: object -description: allocation of storage for each PCE service. +description: Allocation of storage for each PCE service. properties: ResourceType: type: string diff --git a/v1/api/swagger/components/schemas/ServiceStorageInfo.yaml b/v1/api/swagger/components/schemas/ServiceStorageInfo.yaml index eb689cab..d7035306 100644 --- a/v1/api/swagger/components/schemas/ServiceStorageInfo.yaml +++ b/v1/api/swagger/components/schemas/ServiceStorageInfo.yaml @@ -9,5 +9,7 @@ properties: type: integer description: Allocated number of volumes. AllocatedCapacity: - type: integer + type: number + format: float + minimum: 0.0 description: Total capacity of all allocated volumes in TB for a service type. diff --git a/v1/html/index.html b/v1/html/index.html index 198d7c58..b267a3f5 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2912,7 +2912,7 @@

Option 2: Getting the token directly from UI

Response samples

Content type
application/json
[
  • {
    }
]