Skip to content

Commit c101e3e

Browse files
fix: query string parameters are camelCased (#934)
* fix: query string parameters are camelCased * review feedback * fix: review feedback
1 parent 8f79986 commit c101e3e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

aip/general/0127.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ message CreateBookRequest {
5454
5555
// The user-specified ID for the book.
5656
// When using HTTP/JSON, this field is populated based on a query string
57-
// argument, such as `?book_id=foo`. This is the fallback for fields that
57+
// argument, such as `?bookId=foo`. This is the fallback for fields that
5858
// are not included in either the URI or the body.
59+
// Note that clients use camelCase format to communicate the field names
60+
// to the service.
5961
string book_id = 3;
6062
}
6163
```
@@ -127,6 +129,8 @@ rpc CreateBook(CreateBookRequest) returns (Book) {
127129

128130
## Changelog
129131

132+
- **2022-08-18**: Added the comment that query string parameter names are
133+
in camelCase.
130134
- **2021-01-06**: Added clarification around `body` and nested fields.
131135
- **2019-09-23**: Added a statement about request body encoding, and guidance
132136
discouraging `json_name`.

0 commit comments

Comments
 (0)