Skip to content

Commit a978009

Browse files
committed
fix(api): sort comments
1 parent 25b22d4 commit a978009

6 files changed

Lines changed: 292 additions & 262 deletions

File tree

api/spec/packages/aip-client-javascript/src/models/operations/meters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export type GetMeterResponse = Meter
2222
export interface ListMetersQuery {
2323
/** Determines which page of the collection to retrieve. */
2424
page?: { size?: number; number?: number }
25-
/** Sort meters returned in the response. Supported sort attributes are: - `key` - `name` - `aggregation` - `createdAt` (default) - `updatedAt` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
25+
/** Sort meters returned in the response. Supported sort attributes are: - `key` - `name` - `aggregation` - `created_at` (default) - `updated_at` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
2626
sort?: SortQueryInput
2727
/** Filter meters returned in the response. To filter meters by key add the following query param: filter[key]=my-meter-key */
2828
filter?: ListMetersParamsFilter

api/spec/packages/aip-client-javascript/src/models/operations/subscriptions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type ChangeSubscriptionResponse = SubscriptionChangeResponse
5353
export interface ListSubscriptionAddonsQuery {
5454
/** Determines which page of the collection to retrieve. */
5555
page?: { size?: number; number?: number }
56+
/** Sort subscription addons returned in the response. Supported sort attributes are: - `id` - `created_at` (default) - `updated_at` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
5657
sort?: SortQueryInput
5758
}
5859

api/spec/packages/aip/src/meters/operations.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ interface MetersOperations {
6767
* - `key`
6868
* - `name`
6969
* - `aggregation`
70-
* - `createdAt` (default)
71-
* - `updatedAt`
70+
* - `created_at` (default)
71+
* - `updated_at`
7272
*
7373
* The `asc` suffix is optional as the default sort order is ascending. The `desc`
7474
* suffix is used to specify a descending order.

api/spec/packages/aip/src/subscriptions/operations.tsp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,17 @@ interface SubscriptionAddonOperations {
179179
@path subscriptionId: Shared.ULID,
180180
...Common.PagePaginationQuery,
181181

182+
/**
183+
* Sort subscription addons returned in the response. Supported sort attributes
184+
* are:
185+
*
186+
* - `id`
187+
* - `created_at` (default)
188+
* - `updated_at`
189+
*
190+
* The `asc` suffix is optional as the default sort order is ascending. The `desc`
191+
* suffix is used to specify a descending order.
192+
*/
182193
@query(#{ name: "sort" })
183194
sort?: Common.SortQuery,
184195
):

0 commit comments

Comments
 (0)