Merge "Initial cps-nf-proxy-rest module setup in CPS project"
[cps.git] / cps-nf-proxy-rest / docs / openapi / 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
24
25   responses:
26     NotFound:
27       description: The specified resource was not found
28       content:
29         application/json:
30           schema:
31             $ref: '#/components/schemas/ErrorMessage'
32     Unauthorized:
33       description: Unauthorized
34       content:
35         application/json:
36           schema:
37             $ref: '#/components/schemas/ErrorMessage'
38     Forbidden:
39       description: Forbidden
40       content:
41         application/json:
42           schema:
43             $ref: '#/components/schemas/ErrorMessage'
44     BadRequest:
45       description: Bad Request
46       content:
47         application/json:
48           schema:
49             $ref: '#/components/schemas/ErrorMessage'
50     Conflict:
51       description: Conflict
52       content:
53         application/json:
54           schema:
55             $ref: '#/components/schemas/ErrorMessage'
56     Ok:
57       description: OK
58       content:
59         application/json:
60           schema:
61             type: object
62     Created:
63       description: Created
64       content:
65         text/plain:
66           schema:
67             type: string
68     NoContent:
69       description: No Content
70       content: {}