Skip to content

Commit f74582d

Browse files
committed
remove format in spec and reorder parameters in tests
1 parent 2f29689 commit f74582d

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

specs/collections/common/schemas/collection.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ Collection:
1212
example: 'prod_products_EN'
1313
createdAt:
1414
type: string
15-
format: date-time
15+
# format: date-time
16+
description: |
17+
Date and time when the collection was created, in RFC 3339 format.
1618
example: '2024-10-07T00:00:00Z'
1719
updatedAt:
1820
type: string
19-
format: date-time
21+
# format: date-time
22+
description: |
23+
Date and time when the collection was last updated, in RFC 3339 format.
2024
example: '2024-10-07T00:00:00Z'
2125
status:
2226
$ref: '#/CollectionStatus'

tests/CTS/requests/collections/listCollections.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"parameters": {
1818
"indexName": "indexName",
1919
"query": "Summer",
20-
"offset": 100,
21-
"limit": 50
20+
"limit": 50,
21+
"offset": 100
2222
},
2323
"request": {
2424
"path": "/1/collections",
2525
"method": "GET",
2626
"queryParameters": {
2727
"indexName": "indexName",
2828
"query": "Summer",
29-
"offset": "100",
30-
"limit": "50"
29+
"limit": "50",
30+
"offset": "100"
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)