-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yaml
71 lines (71 loc) · 1.42 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
openapi: 3.0.0
paths:
/:
get:
operationId: AppController_getHello
parameters: []
responses:
"200":
description: ""
/bpmn:
get:
operationId: BPMNController_getWorkflows
parameters: []
responses:
"200":
description: ""
/bpmn/{workflowname}:
post:
operationId: startWorkflow
summary: ""
description: start new workflow
parameters:
- name: workflowname
required: true
in: path
schema:
type: string
requestBody:
required: true
description: create worflow, submit data in json format
content:
application/json:
schema:
$ref: "#/components/schemas/SampleApiSchema"
responses:
"201":
description: ""
info:
title: Cats example
description: The cats API description
version: "1.0"
contact: {}
tags:
- name: bpmn
description: ""
servers: []
components:
schemas:
SampleApiSchema:
type: object
properties:
id:
type: string
format: uuid
default: ""
tenantId:
type: number
default: 1
name:
type: string
default: ""
email:
type: string
default: ""
age:
type: number
default: 0
required:
- name
- email
- age