Merge "[BUG] Correctly parse observedTimestamp"
[cps.git] / cps-rest / docs / api / swagger / components.yaml
1 components:
2   schemas:
3     ErrorMessage:
4       type: object
5       title: Error
6       properties:
7         status:
8           type: string
9         message:
10           type: string
11         details:
12           type: string
13     MultipartFile:
14       required:
15         - file
16       properties:
17         multipartFile:
18           type: string
19           description: multipartFile
20           format: binary
21
22   parameters:
23     dataspaceNameInQuery:
24       name: dataspace-name
25       in: query
26       description: dataspace-name
27       required: true
28       schema:
29         type: string
30     dataspaceNameInPath:
31       name: dataspace-name
32       in: path
33       description: dataspace-name
34       required: true
35       schema:
36         type: string
37     anchorNameInPath:
38       name: anchor-name
39       in: path
40       description: anchor-name
41       required: true
42       schema:
43         type: string
44     schemaSetNameInQuery:
45       name: schema-set-name
46       in: query
47       description: schema-set-name
48       required: true
49       schema:
50         type: string
51     schemaSetNameInPath:
52       name: schema-set-name
53       in: path
54       description: schema-set-name
55       required: true
56       schema:
57         type: string
58     anchorNameInQuery:
59       name: anchor-name
60       in: query
61       description: anchor-name
62       required: true
63       schema:
64         type: string
65
66   responses:
67     NotFound:
68       description: The specified resource was not found
69       content:
70         application/json:
71           schema:
72             $ref: '#/components/schemas/ErrorMessage'
73     Unauthorized:
74       description: Unauthorized
75       content:
76         application/json:
77           schema:
78             $ref: '#/components/schemas/ErrorMessage'
79     Forbidden:
80       description: Forbidden
81       content:
82         application/json:
83           schema:
84             $ref: '#/components/schemas/ErrorMessage'
85     BadRequest:
86       description: Bad Request
87       content:
88         application/json:
89           schema:
90             $ref: '#/components/schemas/ErrorMessage'
91     Ok:
92       description: OK
93       content:
94         application/json:
95           schema:
96             type: object
97     Created:
98       description: Created
99       content:
100         text/plain:
101           schema:
102             type: string
103     NoContent:
104       description: No Content
105       content: {}