-
Notifications
You must be signed in to change notification settings - Fork 10
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 ignores base uri path #3
Comments
Good catch! Ill fix it asap. Now focusing on |
@scaytrase I've completed first iteration over base uri feature. I noticed that you did not add |
the spec does not mention this explicitly anywhere, but tools tend to assume type |
assume or require? i validate my schema against https://editor.swagger.io, so they should be pretty valid, but it's interesting question anyway |
I've removed this check. I was applying "defensive programming" and wanted to protect the code from unexpected side effects. |
I'll allocate some time for testing different |
Yeah, I've just updated to 0.7 and this looks like fixed at the moment |
Given openapi spec with
Server base uri
http://localhost:8000/api/v1
POST operation
/products.create
I expect POST request
http://localhost:8000/api/v1/products.create
to be validActual result
According to https://swagger.io/docs/specification/api-host-and-base-path/ having base url path prefix is totally valid
The text was updated successfully, but these errors were encountered: