-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenapi-extra-paths.json
115 lines (115 loc) · 3.5 KB
/
openapi-extra-paths.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"paths": {
"/agreements/{agreementId}/convert/pdf": {
"summary": "Path used to convert an agreeement to PDF format.",
"description": "The REST endpoint/path used convert or render an `agreement` to PDF format.",
"post": {
"requestBody": {
"description": "PDF conversion options.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/[email protected]"
}
}
},
"required": true
},
"responses": {
"202": {
"description": "A PDF file",
"content" : {
"application/pdf:" : {
"schema" : {
"type" : "string",
"format": "binary"
}
}
}
}
},
"operationId": "convertAgreementPdf",
"summary": "Convert agreement to PDF",
"description": "Converts an existing `agreement` to PDF.",
"tags": ["agreements"]
},
"parameters": [
{
"name": "agreementId",
"description": "A unique identifier for a `Agreement`.",
"schema": {
"type": "string"
},
"in": "path",
"required": true
}
]
},
"/agreements/{agreementId}/trigger": {
"summary": "Path used to trigger an agreeement.",
"description": "The REST endpoint/path used trigger an `agreement`.",
"post": {
"requestBody": {
"description": "Incoming data — a JSON serialized Concerto type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/[email protected]"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/[email protected]"
}
}
},
"description": "Successful response - returns the result of calling a function."
}
},
"operationId": "triggerAgreement",
"summary": "Trigger an agreement",
"description": "Sends data to an existing agreement.",
"tags": ["agreements"]
},
"parameters": [
{
"name": "agreementId",
"description": "A unique identifier for a `Agreement`.",
"schema": {
"type": "string"
},
"in": "path",
"required": true
}
]
},
"/capabilities": {
"summary": "Path used to retrieve server capabilities.",
"description": "The REST endpoint used to understand the capabiities of the server.",
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/[email protected]"
}
}
},
"description": "Successful response - returns `capabilities` for the server."
}
},
"operationId": "getCapabilities",
"summary": "Get server capabilities",
"description": "Retrieve the supported features of the server.",
"tags": ["capabilities"]
}
}
}
}