From 64d937ca0c61691c456c03ab8af1acee92b3a1a3 Mon Sep 17 00:00:00 2001 From: Paul Horton Date: Wed, 20 Nov 2024 17:29:43 +0000 Subject: [PATCH] fix: added back `description` Signed-off-by: Paul Horton --- spec/openapi.yaml | 3 +++ update-spec.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/spec/openapi.yaml b/spec/openapi.yaml index bead281..b098953 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -4724,6 +4724,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ApiComponentRemediationValueDTO' + description: Use this method to obtain remediation suggestions for policy + violations on a component basis. Remediations obtained from this method + are same as those appearing on the Component Details Page in the UI. tags: - Components /api/v2/components/versions: diff --git a/update-spec.py b/update-spec.py index e93c291..d53b59a 100644 --- a/update-spec.py +++ b/update-spec.py @@ -315,7 +315,10 @@ '$ref': '#/components/schemas/ApiComponentRemediationValueDTO' } } - } + }, + 'description': 'Use this method to obtain remediation suggestions for policy violations on a ' + 'component basis. Remediations obtained from this method are same as those appearing on ' + 'the Component Details Page in the UI.' } # Coerce `default` responses to be `200`