Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify basePath wich differrent from swagger specification #58

Open
TheXby opened this issue Jul 7, 2020 · 1 comment
Open

Comments

@TheXby
Copy link

TheXby commented Jul 7, 2020

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?

@viclovsky
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants