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

mock based on OpenApi spec - but miss root context #1809

Open
camproto opened this issue Oct 24, 2023 · 0 comments
Open

mock based on OpenApi spec - but miss root context #1809

camproto opened this issue Oct 24, 2023 · 0 comments

Comments

@camproto
Copy link

Describe the feature request
I have an openAPI spec as a yaml. It contains links to the application to be mocked, but in the URLs the root context is missing.

What you are trying to do
I use the openApi spec as it is and create the mockserver from it.
Because the root context is not within the yaml the expectations are all not working.

The solution you'd like
I miss a configuration of the root context (as for spring or quarkus apps), which is added to the expectations. This should lead to matching URLs and requests.

Describe alternatives you've considered
If mockserver honor somehow a root context within the openApi, this could solve the problem as well.

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

No branches or pull requests

1 participant