API Fuzz testing - move request/response fields to the Generic Schema details object
Why are we doing this work
Currently API Fuzz Testing request
and response
fields are rendered as simple pre-formatted text. Originally we planned follow up work in #271536 (closed) to move to a color coded diff-highlighted view matching what we do on MR code changes. This has evolved into adopting the Generic Report Schema approach and creating a reusable diff component. This means that the data needs to be switched from the current fields to this new details/ruby_diff structure shown below.
Generic Schema Format
"details": {
"ruby_diff": {
"name": "my_file.rb",
"type": "diff",
"before": "before text",
"after": "after text"
}
}
Relevant links
- frontend issue at #328706 (closed)
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing: