You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: static/openapi-spec/catalog-common-definitions_v5.yaml
+142Lines changed: 142 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -681,6 +681,15 @@ components:
681
681
Details_Rest:
682
682
type: object
683
683
description: List of REST resources
684
+
properties:
685
+
totalOperations:
686
+
type: integer
687
+
description: The total number of OpenAPI operations at this data source (endpoint)
688
+
example: 1
689
+
operations:
690
+
type: array
691
+
items:
692
+
$ref: "#/components/schemas/Operation"
684
693
Documents:
685
694
type: object
686
695
required:
@@ -1108,6 +1117,139 @@ components:
1108
1117
type: string
1109
1118
format: uuid
1110
1119
description: The UUID of the owner. Will only be available if the owner has a Mendix Platform account.
1120
+
OpenAPIRequestBody:
1121
+
type: object
1122
+
required:
1123
+
- required
1124
+
properties:
1125
+
description:
1126
+
type: string
1127
+
maxLength: 1000
1128
+
description: Description of the request
1129
+
example: "Information of the Employee"
1130
+
required:
1131
+
type: boolean
1132
+
description: Parameter is required or not
1133
+
example: True
1134
+
OpenAPIResponse:
1135
+
type: object
1136
+
description: Details of the response
1137
+
required:
1138
+
- statusCode
1139
+
- description
1140
+
properties:
1141
+
statusCode:
1142
+
type: string
1143
+
description: Status code of response..
1144
+
example: "200"
1145
+
description:
1146
+
type: string
1147
+
maxLength: 1000
1148
+
description: Description of the response
1149
+
example: "Employee details Updated"
1150
+
OpenAPIParameter:
1151
+
type: object
1152
+
description: Details of the parameter
1153
+
required:
1154
+
- name
1155
+
- in
1156
+
- required
1157
+
properties:
1158
+
name:
1159
+
type: string
1160
+
maxLength: 200
1161
+
description: The name of the parameter
1162
+
example: "employeeId"
1163
+
in:
1164
+
type: string
1165
+
enum: ["path", "formData", "query", "header"]
1166
+
description: The location of the parameter
1167
+
example: "path"
1168
+
required:
1169
+
type: boolean
1170
+
description: Parameter is required or not
1171
+
example: True
1172
+
type:
1173
+
type: string
1174
+
enum:
1175
+
[
1176
+
"boolean",
1177
+
"string",
1178
+
"number",
1179
+
"integer",
1180
+
"array",
1181
+
"file",
1182
+
"object",
1183
+
]
1184
+
description: Required if 'in' is not body. Defines the type of the parameter
1185
+
example: "string"
1186
+
description:
1187
+
type: string
1188
+
maxLength: 1000
1189
+
description: A brief description of the parameter
1190
+
example: "ID of the employee"
1191
+
Operation:
1192
+
type: object
1193
+
description: Details of the operation
1194
+
required:
1195
+
- method
1196
+
- path
1197
+
- responses
1198
+
properties:
1199
+
operationId:
1200
+
type: string
1201
+
maxLength: 200
1202
+
description: The name of the operation
1203
+
example: "EmployeeUpdate"
1204
+
method:
1205
+
type: string
1206
+
maxLength: 200
1207
+
description: Operation HTTP method type
1208
+
example: "PUT"
1209
+
description:
1210
+
type: string
1211
+
maxLength: 10000
1212
+
description: Description of the OpenAPI operation.
1213
+
example: "This endpoint allows clients to update one or more details of a specific employee, such as name, contact information, job title, department, or address. The employee is identified using a unique employee ID provided in the path parameter. Only the fields provided in the request body will be updated; all other details will remain unchanged"
1214
+
summary:
1215
+
type: string
1216
+
maxLength: 500
1217
+
description: Summary of the OpenAPI operation.
1218
+
example: "Updates the information of an existing employee in the system"
1219
+
path:
1220
+
type: string
1221
+
description: Path of the OpenAPI operation
1222
+
example: "/employee/{employeeId}"
1223
+
tags:
1224
+
type: array
1225
+
items:
1226
+
$ref: "#/components/schemas/Tag"
1227
+
example:
1228
+
- name: "HR"
1229
+
- name: "Employee"
1230
+
requestBody:
1231
+
allOf:
1232
+
- $ref: "#/components/schemas/OpenAPIRequestBody"
1233
+
- type: object
1234
+
description: Details of request
1235
+
totalResponses:
1236
+
type: integer
1237
+
description: The total number of responses in this operation at this data source (endpoint)
1238
+
example: 1
1239
+
responses:
1240
+
type: array
1241
+
items:
1242
+
$ref: "#/components/schemas/OpenAPIResponse"
1243
+
description: "List of responses belonging to this operation"
1244
+
totalParameters:
1245
+
type: integer
1246
+
description: The total number of parameters in this operation at this data source (endpoint)
1247
+
example: 1
1248
+
parameters:
1249
+
type: array
1250
+
items:
1251
+
$ref: "#/components/schemas/OpenAPIParameter"
1252
+
description: "List of parameters belonging to this operation"
0 commit comments