Skip to content

Insert tips as comments in the YAML snippet

What does this MR do?

Inserts a few hints as code comments in the API Fuzzing configuration YAML snippets generated by the API. This works by looking for predefined tokens and inserting a new line above the first match in the snippet.

Screenshots (strongly suggested)

Before After
Screen_Shot_2021-04-06_at_9.01.38_AM Screen_Shot_2021-04-06_at_9.00.31_AM

How to test this?

  1. In any project, navigate to the API Fuzzing configuration form at /:namespace/:project/-/security/configuration/api_fuzzing.
  2. Fill out the form.
  3. Click on Generate code snippet.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #321201 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports