-
Notifications
You must be signed in to change notification settings - Fork 32
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
Validator Handler should support different base url #178
Labels
Comments
BalloonWen
added a commit
that referenced
this issue
Apr 12, 2021
BalloonWen
added a commit
that referenced
this issue
Apr 21, 2021
BalloonWen
added a commit
that referenced
this issue
Apr 26, 2021
stevehu
pushed a commit
that referenced
this issue
Apr 26, 2021
BalloonWen
added a commit
that referenced
this issue
Apr 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g. in the OpenAPI spec
the default baseUrl in OpenAPIHelper is "/{path1}/{path2}/v1", then whenever a request comes, it will match "/{path1}/{path2}/v1", then rewrite it to "/"
but if there is already a rewrite happening in between (e.g. rewrite by ingress), this will case the normalization fail
update
It is hard for the OpenAPIHelper to know which paths should be rewrite, thus, we should support relative server url
The text was updated successfully, but these errors were encountered: