From 757b0ede25428c71816abe6171a4c21910acb8f5 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Wed, 31 Jul 2024 17:39:25 -0400 Subject: [PATCH] Fixes test spec lint Signed-off-by: Darshit Chanpura --- spec/schemas/security._common.yaml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/spec/schemas/security._common.yaml b/spec/schemas/security._common.yaml index 6510f08e7..61f90a9a5 100644 --- a/spec/schemas/security._common.yaml +++ b/spec/schemas/security._common.yaml @@ -181,6 +181,19 @@ components: type: string description: Message returned as part of BAD_REQUEST response. + CertificateCountPerNode: + type: object + properties: + total: + type: number + description: Total number of nodes. + successful: + type: number + description: Number of nodes for which certificates could be fetched. + failed: + type: number + description: Number of nodes for which certificates could not be fetched. + CertificatesDetail: type: object properties: @@ -240,15 +253,7 @@ components: _nodes: type: object additionalProperties: - total: - type: number - description: Total number of nodes. - successful: - type: number - description: Number of nodes for which certificates could be fetched. - failed: - type: number - description: Number of nodes for which certificates could not be fetched. + $ref: '#/components/schemas/CertificateCountPerNode' cluster_name: type: string description: Name of this cluster.