Commit 5630327 1 parent 2867a74 commit 5630327 Copy full SHA for 5630327
File tree 1 file changed +77
-5
lines changed
1 file changed +77
-5
lines changed Original file line number Diff line number Diff line change 30
30
"parameters" : [
31
31
{
32
32
"$ref" : " #/components/parameters/product-identifier"
33
+ },
34
+ {
35
+ "$ref" : " #/components/parameters/page-offset"
36
+ },
37
+ {
38
+ "$ref" : " #/components/parameters/page-size"
33
39
}
34
40
],
35
41
"responses" : {
38
44
"content" : {
39
45
"application/json" : {
40
46
"schema" : {
41
- "type" : " array" ,
42
- "items:" : {
43
- "$ref" : " #/components/schemas/tea-product-index"
44
- },
45
- "minItems" : 1
47
+ "allOf" : [
48
+ {
49
+ "$ref" : " #/components/schemas/type-pagination-details"
50
+ },
51
+ {
52
+ "type" : " object" ,
53
+ "properties" : {
54
+ "results" : {
55
+ "type" : " array" ,
56
+ "items" : {
57
+ "$ref" : " #/components/schemas/tea-product-index"
58
+ },
59
+ "minItems" : 1
60
+ }
61
+ },
62
+ "required" : [
63
+ " results"
64
+ ]
65
+ }
66
+ ]
67
+
46
68
}
47
69
}
48
70
}
311
333
" ATTESTATION_UPDATED"
312
334
]
313
335
},
336
+ "type-pagination-details" : {
337
+ "type" : " object" ,
338
+ "properties" : {
339
+ "timestamp" : {
340
+ "type" : " string" ,
341
+ "format" : " date-time"
342
+ },
343
+ "page_start_index" : {
344
+ "type" : " number" ,
345
+ "format" : " int64" ,
346
+ "default" : 0
347
+ },
348
+ "page_size" : {
349
+ "type" : " number" ,
350
+ "format" : " int64" ,
351
+ "default" : 100
352
+ },
353
+ "total_results" : {
354
+ "type" : " number" ,
355
+ "format" : " int64"
356
+ }
357
+ },
358
+ "required" : [
359
+ " timestamp" ,
360
+ " page_start_index" ,
361
+ " page_size" ,
362
+ " total_results"
363
+ ]
364
+ },
314
365
"type-tea-collection-artifact-type" : {
315
366
"type" : " string" ,
316
367
"title" : " Type" ,
421
472
}
422
473
},
423
474
"parameters" : {
475
+ "page-offset" : {
476
+ "name" : " page-offset" ,
477
+ "description" : " Pagination offset" ,
478
+ "in" : " query" ,
479
+ "required" : false ,
480
+ "schema" : {
481
+ "type" : " number" ,
482
+ "format" : " int64" ,
483
+ "default" : 0
484
+ }
485
+ },
486
+ "page-size" : {
487
+ "name" : " page-size" ,
488
+ "description" : " Pagination offset" ,
489
+ "in" : " query" ,
490
+ "required" : false ,
491
+ "schema" : {
492
+ "type" : " number" ,
493
+ "format" : " int64"
494
+ }
495
+ },
424
496
"product-identifier" : {
425
497
"name" : " product-identifier" ,
426
498
"description" : " Product Identifier part of a TEI" ,
You can’t perform that action at this time.
0 commit comments