forked from openshift-integration/camel-k-example-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yaml
53 lines (53 loc) · 1.19 KB
/
openapi.yaml
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
---
openapi: 3.0.2
info:
title: Camel K Object API
version: 1.0.0
description: A CRUD API for an object store
paths:
/v1:
get:
responses:
"200":
content:
application/json:
schema:
type: array
items:
type: string
description: Object list
operationId: list
summary: List the objects
/v1/{name}:
get:
responses:
"200":
content:
application/octet-stream: {}
description: The object content
operationId: get
summary: Get the content of an object
put:
requestBody:
description: The object content
content:
application/octet-stream: {}
required: true
responses:
"200":
description: The object has been created
operationId: create
summary: Save an object
delete:
responses:
"204":
description: Object has been deleted
operationId: delete
summary: Delete an object
parameters:
- name: name
description: Name of the object
schema:
type: string
in: path
required: true