rudder icon indicating copy to clipboard operation
rudder copied to clipboard

Fixes #28018: API tests in yaml files do not really support text content

Open clarktsiory opened this issue 2 weeks ago • 2 comments

https://issues.rudder.io/issues/28018

The parsing of the YAML always assumed JSON content, even with type: text. It was simply missing taking the type into account for parsing and cleaning, in which case the text should be stripped.

There are only a few tests making use of type: text, in the Openscap plugin

clarktsiory avatar Dec 10 '25 10:12 clarktsiory

Commit modified

clarktsiory avatar Dec 10 '25 10:12 clarktsiory

Commit modified

clarktsiory avatar Dec 10 '25 10:12 clarktsiory

OK, merging this PR