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`