Skip to content

Add API::Vulnerabilities to OpenApi V2

Thiago Figueiró requested to merge 377038-openapiv2_api-vulnerabilities into master

What does this MR do and why?

Add API::Vulnerabilities to OpenAPIv2.

  • Check the Parameter documentation needs to be updated
    • No updates needed.
  • Check the description block needs to be updated. Ideally this should include a success entry.
    • Descriptions look fine. All entries have success.
  • If the endpoint responds with an Array, use the is_array true helper
    • No Array responses.
  • Compare the parameters and description to the markdown documentation for this endpoint
    • Markdown docs say "Integer or String", while swagger says "String". I tried using type: [String, Integer] but that didn't seem to have an effect, so I left it as String.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #377038

Merge request reports