-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Argo/query params for all methods (#625)
Allow query params on ALL http methods Nothing in the standards definitions preclude query params for methods other than GET We have use-cases where an endpoint wanted to use DELETE with query params and that was used by the downstream service. With this change, a few things: - Allowed other methods to process query params - Fixed the test-cases -- all query params need to have the http.ref = "query.xxx" annotation In the test cases, we were grandfathering non-annotated fields in the struct as query params since these were only for GET and it worked well - One test case added for delete with query params
- Loading branch information
Showing
11 changed files
with
1,848 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
examples/example-gateway/build/clients/bar/mock-client/mock_client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.