You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think 51443bc should actually check for NPE before creating a new instance of ResponseParserRegistrar. I was trying to parse a application/yaml by filtering the response and converting from YAML to JSON using Jackson:
I had to make the tweak because I noticed that RestAssured.registerParser("application/yaml", Parser.JSON) had no effect. Maybe I am missing something and there is a better way to parse YAML and validate the properties with io.restassured.response.ValidatableResponseOptions.body(String path, ResponseAwareMatcher<Response> responseAwareMatcher). Please show me a better way if it is the case.
The text was updated successfully, but these errors were encountered:
I think 51443bc should actually check for NPE before creating a new instance of
ResponseParserRegistrar
. I was trying to parse aapplication/yaml
by filtering the response and converting from YAML to JSON using Jackson:I had to make the tweak because I noticed that
RestAssured.registerParser("application/yaml", Parser.JSON)
had no effect. Maybe I am missing something and there is a better way to parse YAML and validate the properties withio.restassured.response.ValidatableResponseOptions.body(String path, ResponseAwareMatcher<Response> responseAwareMatcher)
. Please show me a better way if it is the case.The text was updated successfully, but these errors were encountered: