From da07d153849a6e278a30eb781f1ac37c14a6d5fc Mon Sep 17 00:00:00 2001 From: "K.J. Valencik" Date: Thu, 26 Mar 2026 09:48:33 -0400 Subject: [PATCH] Change batchGet to batch-get for casing consistency across AEP --- aep/general/0231/aep.md.j2 | 6 +++--- aep/general/0231/batchget.oas.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aep/general/0231/aep.md.j2 b/aep/general/0231/aep.md.j2 index 75f6771f..d5c7b1ad 100644 --- a/aep/general/0231/aep.md.j2 +++ b/aep/general/0231/aep.md.j2 @@ -11,7 +11,7 @@ APIs **may** support batch get to retrieve a consistent set of resources. - The method's name **must** begin with `BatchGet`. The remainder of the method name **must** be the plural form of the resource being retrieved. - The HTTP verb **must** be `GET`. -- The HTTP URI **must** end with `:batchGet`. +- The HTTP URI **must** end with `:batch-get`. - The URI path **must** represent the collection for the resource, matching the collection used for simple CRUD operations. If the operation spans parents, a [wilcard](./reading-across-collections) **may** be accepted. @@ -45,7 +45,7 @@ pattern: ```proto rpc BatchGetBooks(BatchGetBooksRequest) returns (BatchGetBooksResponse) { option (google.api.http) = { - get: "/v1/{parent=publishers/*}/books:batchGet" + get: "/v1/{parent=publishers/*}/books:batch-get" }; } @@ -121,7 +121,7 @@ message BatchGetBooksResponse { {% tab oas %} -{% sample 'batchget.oas.yaml', '$.paths./publishers/{publisherId}/books:BatchGet' %} +{% sample 'batchget.oas.yaml', '$.paths./publishers/{publisherId}/books:batch-get' %} Example response body: diff --git a/aep/general/0231/batchget.oas.yaml b/aep/general/0231/batchget.oas.yaml index 2c0577a7..f9f937ee 100644 --- a/aep/general/0231/batchget.oas.yaml +++ b/aep/general/0231/batchget.oas.yaml @@ -3,7 +3,7 @@ info: title: Library version: 1.0.0 paths: - /publishers/{publisherId}/books:BatchGet: + /publishers/{publisherId}/books:batch-get: parameters: - name: publisherId in: path