We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--- request: method: "GET" path: "/v1/endpoint" queryStringParameters: param1: - "value1" - "value2" response: ...
Log: 2022/05/13 22:21:49 Discarding mock: get_something.yaml[0] Reason: Query string not match. Actual: param1: value1, Expected: param1: value1, param1: value2
The text was updated successfully, but these errors were encountered:
there
.... for key, mval := range mockMap { if rval, exists := reqMap[key]; exists { if isOneElementOfArrayExistsToAnotherArray(mval, rval) { return true } ....
func isOneElementOfArrayExistsToAnotherArray(array []string, anotherArray []string) bool { for _, v := range array { for _, vv := range anotherArray { if v == vv { return true } } } return false }
Sorry, something went wrong.
Hi, I'm not following you, could you provide the request ?
No branches or pull requests
Log:
2022/05/13 22:21:49 Discarding mock: get_something.yaml[0] Reason: Query string not match. Actual: param1: value1, Expected: param1: value1, param1: value2
The text was updated successfully, but these errors were encountered: