swagger-coverage
swagger-coverage copied to clipboard
How to specify basePath wich differrent from swagger specification
Hello, Our swagger shows endoints path as "/api/v1/hotels" But in my tests i specified "/api/v1/hotels" as RestAssured basePath and make requests as: get() or get("/{hotelId}"). Your tool cant recognize it in a proper way and cant find these requests. Is it possible to configure it?
Hi, @TheXby Not it's not possible to configure. You can write your own filter for rest-assured or try to fix current.
I think the best solution will be to have a proxy, but it hasn't been implemented yet.