-
-
Notifications
You must be signed in to change notification settings - Fork 437
Expand file tree
/
Copy pathissue_2953.yaml
More file actions
65 lines (64 loc) · 2.16 KB
/
issue_2953.yaml
File metadata and controls
65 lines (64 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
openapi: "3.0.0"
info:
title: Issue 2953 Test
version: "1.0.0"
components:
schemas:
Collection-Wrapper:
description: Generic response wrapper containing a collection of items and pagination metadata.
type: object
required:
- data
- pagination
properties:
data:
description: Array of items in the collection.
type: array
items:
type: object
pagination:
description: Pagination metadata for the collection.
$ref: "#/components/schemas/Metadata"
DataType:
type: object
required:
- id
properties:
property_1:
type: string
format: uuid
readOnly: true
description: Unique identifier for the installation.
property_2:
type: string
description: Description of the installation.
property_3:
type: string
format: date-time
readOnly: true
description: Timestamp when the installation was created.
PaginatedDataTypeList:
allOf:
- properties:
data:
type: array
items:
$ref: "#/components/schemas/DataType"
- $ref: "#/components/schemas/Collection-Wrapper"
Metadata:
type: object
required:
- limit
- page
properties:
limit:
type: integer
minimum: 1
maximum: 100
description: Number of data types returned in this response
example: 20
page:
type: integer
minimum: 1
description: The page number to retrieve
example: 2