|
256 | 256 | "/accounts/{id}/{property}": { |
257 | 257 | "get": { |
258 | 258 | "tags": [ |
259 | | - "repository-property-reference-controller" |
| 259 | + "account-property-reference-controller" |
260 | 260 | ], |
261 | 261 | "description": "get-account", |
262 | 262 | "operationId": "followPropertyReference-account-get_1", |
|
301 | 301 | }, |
302 | 302 | "put": { |
303 | 303 | "tags": [ |
304 | | - "repository-property-reference-controller" |
| 304 | + "account-property-reference-controller" |
305 | 305 | ], |
306 | 306 | "description": "update-account", |
307 | 307 | "operationId": "createPropertyReference-account-put", |
|
370 | 370 | }, |
371 | 371 | "post": { |
372 | 372 | "tags": [ |
373 | | - "repository-property-reference-controller" |
| 373 | + "account-property-reference-controller" |
374 | 374 | ], |
375 | 375 | "description": "create-account", |
376 | 376 | "operationId": "createPropertyReference-account-post", |
|
426 | 426 | }, |
427 | 427 | "delete": { |
428 | 428 | "tags": [ |
429 | | - "repository-property-reference-controller" |
| 429 | + "account-property-reference-controller" |
430 | 430 | ], |
431 | 431 | "description": "delete-account", |
432 | 432 | "operationId": "deletePropertyReference-account-delete", |
|
459 | 459 | }, |
460 | 460 | "patch": { |
461 | 461 | "tags": [ |
462 | | - "repository-property-reference-controller" |
| 462 | + "account-property-reference-controller" |
463 | 463 | ], |
464 | 464 | "description": "patch-account", |
465 | 465 | "operationId": "createPropertyReference-account-patch", |
|
520 | 520 | "/accounts/{id}/{property}/{propertyId}": { |
521 | 521 | "get": { |
522 | 522 | "tags": [ |
523 | | - "repository-property-reference-controller" |
| 523 | + "account-property-reference-controller" |
524 | 524 | ], |
525 | 525 | "description": "get-account", |
526 | 526 | "operationId": "followPropertyReference-account-get", |
|
568 | 568 | }, |
569 | 569 | "delete": { |
570 | 570 | "tags": [ |
571 | | - "repository-property-reference-controller" |
| 571 | + "account-property-reference-controller" |
572 | 572 | ], |
573 | 573 | "description": "delete-account", |
574 | 574 | "operationId": "deletePropertyReferenceId-account-delete", |
|
862 | 862 | "/customers/{id}/{property}": { |
863 | 863 | "get": { |
864 | 864 | "tags": [ |
865 | | - "repository-property-reference-controller" |
| 865 | + "customer-property-reference-controller" |
866 | 866 | ], |
867 | 867 | "description": "get-customer", |
868 | 868 | "operationId": "followPropertyReference-customer-get_1", |
|
907 | 907 | }, |
908 | 908 | "put": { |
909 | 909 | "tags": [ |
910 | | - "repository-property-reference-controller" |
| 910 | + "customer-property-reference-controller" |
911 | 911 | ], |
912 | 912 | "description": "update-customer", |
913 | 913 | "operationId": "createPropertyReference-customer-put", |
|
976 | 976 | }, |
977 | 977 | "post": { |
978 | 978 | "tags": [ |
979 | | - "repository-property-reference-controller" |
| 979 | + "customer-property-reference-controller" |
980 | 980 | ], |
981 | 981 | "description": "create-customer", |
982 | 982 | "operationId": "createPropertyReference-customer-post", |
|
1032 | 1032 | }, |
1033 | 1033 | "patch": { |
1034 | 1034 | "tags": [ |
1035 | | - "repository-property-reference-controller" |
| 1035 | + "customer-property-reference-controller" |
1036 | 1036 | ], |
1037 | 1037 | "description": "patch-customer", |
1038 | 1038 | "operationId": "createPropertyReference-customer-patch", |
|
1093 | 1093 | "/customers/{id}/{property}/{propertyId}": { |
1094 | 1094 | "get": { |
1095 | 1095 | "tags": [ |
1096 | | - "repository-property-reference-controller" |
| 1096 | + "customer-property-reference-controller" |
1097 | 1097 | ], |
1098 | 1098 | "description": "get-customer", |
1099 | 1099 | "operationId": "followPropertyReference-customer-get", |
|
1303 | 1303 | } |
1304 | 1304 | } |
1305 | 1305 | }, |
1306 | | - "Account": { |
1307 | | - "type": "object", |
1308 | | - "properties": { |
1309 | | - "id": { |
1310 | | - "type": "integer", |
1311 | | - "format": "int64" |
1312 | | - }, |
1313 | | - "customer": { |
1314 | | - "$ref": "#/components/schemas/Customer" |
1315 | | - }, |
1316 | | - "expiryDate": { |
1317 | | - "type": "string", |
1318 | | - "format": "date-time" |
1319 | | - } |
1320 | | - } |
1321 | | - }, |
1322 | | - "Customer": { |
| 1306 | + "RepresentationModelAccount": { |
1323 | 1307 | "type": "object", |
1324 | 1308 | "properties": { |
1325 | | - "id": { |
1326 | | - "type": "integer", |
1327 | | - "format": "int64" |
1328 | | - }, |
1329 | | - "firstname": { |
1330 | | - "type": "string" |
1331 | | - }, |
1332 | | - "lastname": { |
1333 | | - "type": "string" |
| 1309 | + "_links": { |
| 1310 | + "$ref": "#/components/schemas/Links" |
1334 | 1311 | } |
1335 | 1312 | } |
1336 | 1313 | }, |
1337 | | - "EntityModelAccount": { |
| 1314 | + "Account": { |
1338 | 1315 | "type": "object", |
1339 | 1316 | "properties": { |
1340 | 1317 | "id": { |
|
1347 | 1324 | "expiryDate": { |
1348 | 1325 | "type": "string", |
1349 | 1326 | "format": "date-time" |
1350 | | - }, |
1351 | | - "_links": { |
1352 | | - "$ref": "#/components/schemas/Links" |
1353 | 1327 | } |
1354 | 1328 | } |
1355 | 1329 | }, |
1356 | | - "CollectionModelObject": { |
| 1330 | + "CollectionModelAccount": { |
1357 | 1331 | "type": "object", |
1358 | 1332 | "properties": { |
1359 | 1333 | "_embedded": { |
1360 | 1334 | "type": "object", |
1361 | 1335 | "properties": { |
1362 | | - "objects": { |
| 1336 | + "accounts": { |
1363 | 1337 | "type": "array", |
1364 | 1338 | "items": { |
1365 | | - "type": "object" |
| 1339 | + "$ref": "#/components/schemas/Account" |
1366 | 1340 | } |
1367 | 1341 | } |
1368 | 1342 | } |
|
1372 | 1346 | } |
1373 | 1347 | } |
1374 | 1348 | }, |
1375 | | - "RepresentationModelAccount": { |
| 1349 | + "Customer": { |
1376 | 1350 | "type": "object", |
1377 | 1351 | "properties": { |
1378 | | - "_links": { |
1379 | | - "$ref": "#/components/schemas/Links" |
| 1352 | + "id": { |
| 1353 | + "type": "integer", |
| 1354 | + "format": "int64" |
| 1355 | + }, |
| 1356 | + "firstname": { |
| 1357 | + "type": "string" |
| 1358 | + }, |
| 1359 | + "lastname": { |
| 1360 | + "type": "string" |
1380 | 1361 | } |
1381 | 1362 | } |
1382 | 1363 | }, |
1383 | | - "CollectionModelAccount": { |
| 1364 | + "CollectionModelObject": { |
1384 | 1365 | "type": "object", |
1385 | 1366 | "properties": { |
1386 | 1367 | "_embedded": { |
1387 | 1368 | "type": "object", |
1388 | 1369 | "properties": { |
1389 | | - "accounts": { |
| 1370 | + "objects": { |
1390 | 1371 | "type": "array", |
1391 | 1372 | "items": { |
1392 | | - "$ref": "#/components/schemas/Account" |
| 1373 | + "type": "object" |
1393 | 1374 | } |
1394 | 1375 | } |
1395 | 1376 | } |
|
1399 | 1380 | } |
1400 | 1381 | } |
1401 | 1382 | }, |
1402 | | - "EntityModelCustomer": { |
| 1383 | + "EntityModelAccount": { |
1403 | 1384 | "type": "object", |
1404 | 1385 | "properties": { |
1405 | 1386 | "id": { |
1406 | 1387 | "type": "integer", |
1407 | 1388 | "format": "int64" |
1408 | 1389 | }, |
1409 | | - "firstname": { |
1410 | | - "type": "string" |
| 1390 | + "customer": { |
| 1391 | + "$ref": "#/components/schemas/Customer" |
1411 | 1392 | }, |
1412 | | - "lastname": { |
1413 | | - "type": "string" |
| 1393 | + "expiryDate": { |
| 1394 | + "type": "string", |
| 1395 | + "format": "date-time" |
1414 | 1396 | }, |
1415 | 1397 | "_links": { |
1416 | 1398 | "$ref": "#/components/schemas/Links" |
|
1444 | 1426 | } |
1445 | 1427 | } |
1446 | 1428 | }, |
| 1429 | + "EntityModelCustomer": { |
| 1430 | + "type": "object", |
| 1431 | + "properties": { |
| 1432 | + "id": { |
| 1433 | + "type": "integer", |
| 1434 | + "format": "int64" |
| 1435 | + }, |
| 1436 | + "firstname": { |
| 1437 | + "type": "string" |
| 1438 | + }, |
| 1439 | + "lastname": { |
| 1440 | + "type": "string" |
| 1441 | + }, |
| 1442 | + "_links": { |
| 1443 | + "$ref": "#/components/schemas/Links" |
| 1444 | + } |
| 1445 | + } |
| 1446 | + }, |
1447 | 1447 | "PageMetadata": { |
1448 | 1448 | "type": "object", |
1449 | 1449 | "properties": { |
|
0 commit comments