1414 tags :
1515 - Model
1616 operationId : getModels
17- summary : Gets a list of all models.
17+ summary : Get all models
1818 produces :
1919 - application/json
2020 responses :
3434 tags :
3535 - Model
3636 operationId : createModel
37- summary : Adds a new model.
37+ summary : Add a new model
3838 consumes :
3939 - application/json
4040 produces :
@@ -59,14 +59,14 @@ paths:
5959 parameters :
6060 - name : id
6161 in : path
62- description : The id of a model
62+ description : ID of the model
6363 type : string
6464 required : true
6565 get :
6666 tags :
6767 - Model
6868 operationId : getModel
69- summary : Get a model by its id.
69+ summary : Get model by its ID
7070 produces :
7171 - application/json
7272 responses :
8989 tags :
9090 - Element
9191 operationId : getElements
92- summary : Gets a list of all elements.
92+ summary : Get all elements
9393 produces :
9494 - application/json
9595 responses :
@@ -109,7 +109,7 @@ paths:
109109 tags :
110110 - Element
111111 operationId : createElement
112- summary : Adds a new element
112+ summary : Add a new element
113113 consumes :
114114 - application/json
115115 produces :
@@ -135,14 +135,14 @@ paths:
135135 parameters :
136136 - name : id
137137 in : path
138- description : The id of an element
138+ description : ID of the element
139139 type : string
140140 required : true
141141 get :
142142 tags :
143143 - Element
144144 operationId : getElement
145- summary : Returns the element with the specified id.
145+ summary : Get element by its ID
146146 produces :
147147 - application/json
148148 responses :
@@ -158,23 +158,18 @@ paths:
158158 $ref : ' #/responses/InternalServerError'
159159 default :
160160 $ref : ' #/responses/Default'
161- /element/{element_id}/ model/{model_id} :
161+ /element/model/{model_id} :
162162 parameters :
163163 - name : model_id
164164 in : path
165- description : The id of the model to search within.
166- type : string
167- required : true
168- - name : element_id
169- in : path
170- description : The id of the element.
165+ description : ID of the model
171166 type : string
172167 required : true
173168 get :
174169 tags :
175170 - Element
176- operationId : getElementInModel
177- summary : Gets a specific element within the specified model.
171+ operationId : getElementsInModel
172+ summary : Get all elements in the model
178173 produces :
179174 - application/json
180175 responses :
@@ -196,7 +191,7 @@ paths:
196191 tags :
197192 - Relationship
198193 operationId : getRelationships
199- summary : Gets a list of all Relationships.
194+ summary : Get all relationships
200195 produces :
201196 - application/json
202197 responses :
@@ -216,7 +211,7 @@ paths:
216211 tags :
217212 - Relationship
218213 operationId : createRelationship
219- summary : Adds a new relationship.
214+ summary : Add a new relationship
220215 consumes :
221216 - application/json
222217 produces :
@@ -242,14 +237,14 @@ paths:
242237 parameters :
243238 - name : id
244239 in : path
245- description : The id of a relationship.
240+ description : ID of the relationship
246241 type : string
247242 required : true
248243 get :
249244 tags :
250245 - Relationship
251246 operationId : getRelationship
252- summary : Gets the relationship with the specified id.
247+ summary : Get relationship by its ID
253248 produces :
254249 - application/json
255250 responses :
@@ -269,14 +264,14 @@ paths:
269264 parameters :
270265 - name : element_id
271266 in : path
272- description : The element id on either side of a relationship.
267+ description : ID of the element that is the source or target of relationships
273268 type : string
274269 required : true
275270 get :
276271 tags :
277272 - Relationship
278273 operationId : getRelationshipsByElement
279- summary : Gets all relationships with a given element id on either side.
274+ summary : Get all relationships with the given element as either source or target
280275 produces :
281276 - application/json
282277 responses :
@@ -296,14 +291,14 @@ paths:
296291 parameters :
297292 - name : source_id
298293 in : path
299- description : The source side id of a relationship.
294+ description : ID of the element that is the source of relationships
300295 type : string
301296 required : true
302297 get :
303298 tags :
304299 - Relationship
305300 operationId : getRelationshipsBySource
306- summary : Gets all relationships with a given source element id.
301+ summary : Get all relationships with the given element as the source
307302 produces :
308303 - application/json
309304 responses :
@@ -323,14 +318,14 @@ paths:
323318 parameters :
324319 - name : target_id
325320 in : path
326- description : The target side id of a relationship.
321+ description : ID of the element that is the target of relationships
327322 type : string
328323 required : true
329324 get :
330325 tags :
331326 - Relationship
332327 operationId : getRelationshipsByTarget
333- summary : Gets all relationships with a given target element id.
328+ summary : Get all relationships with the given element as the target
334329 produces :
335330 - application/json
336331 responses :
@@ -393,6 +388,7 @@ definitions:
393388 properties :
394389 error :
395390 type : string
391+ openapi :
396392responses :
397393 NoContent :
398394 description : No Content
0 commit comments