Class YamlToJsonFilter
- java.lang.Object
-
- org.eclipse.microprofile.openapi.tck.utils.YamlToJsonFilter
-
- All Implemented Interfaces:
io.restassured.filter.Filter,io.restassured.filter.OrderedFilter
public class YamlToJsonFilter extends Object implements io.restassured.filter.OrderedFilter
This filter is a replacement for the originalYamlToJsonConverterServlet.Its only purpose is to convert YAML to JSON so that tests can use JsonPath to inspect the response body.
- Author:
- Martin Kouba
-
-
Constructor Summary
Constructors Constructor Description YamlToJsonFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.restassured.response.Responsefilter(io.restassured.specification.FilterableRequestSpecification requestSpec, io.restassured.specification.FilterableResponseSpecification responseSpec, io.restassured.filter.FilterContext ctx)intgetOrder()
-
-
-
Method Detail
-
filter
public io.restassured.response.Response filter(io.restassured.specification.FilterableRequestSpecification requestSpec, io.restassured.specification.FilterableResponseSpecification responseSpec, io.restassured.filter.FilterContext ctx)- Specified by:
filterin interfaceio.restassured.filter.Filter
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceio.restassured.filter.OrderedFilter
-
-