Skip to content

Commit

Permalink
Upd: Read data attributes for data agreement, list all data attribute…
Browse files Browse the repository at this point in the history
…s and update data attribute by id

Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 31, 2023
1 parent e866f41 commit eda55b7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1045,11 +1045,14 @@ paths:
schema:
type: object
properties:
dataAgreement:
$ref: '#/components/schemas/DataAgreement'
dataAttributes:
items:
$ref: '#/components/schemas/DataAgreement/properties/dataAttributes/items'
allOf:
- $ref: '#/components/schemas/DataAgreement/properties/dataAttributes/items'
- type: object
properties:
dataAgreement:
$ref: '#/paths/~1config~1data-agreements~1data-attributes/get/responses/200/content/application~1json/schema/properties/dataAttributes/items/allOf/1/properties/dataAgreement'
type: array
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down Expand Up @@ -1096,8 +1099,6 @@ paths:
properties:
dataAttribute:
$ref: '#/components/schemas/DataAgreement/properties/dataAttributes/items'
revision:
$ref: '#/components/schemas/Revision'
description: ''
'400':
description: bad input parameter
Expand Down Expand Up @@ -1136,7 +1137,7 @@ paths:
- $ref: '#/components/schemas/DataAgreement/properties/dataAttributes/items'
- type: object
properties:
dataAgreements:
dataAgreement:
type: array
items:
type: object
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2023.8.2/paths/configListDataAttribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ responses:
- $ref: ../definitions/DataAttribute.yaml
- type: object
properties:
dataAgreements:
dataAgreement:
$ref: ../definitions/DataAttributeExtras.yaml
type: array
pagination:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ responses:
schema:
type: object
properties:
dataAgreement:
$ref: ../definitions/DataAgreement.yaml
dataAttributes:
items:
$ref: ../definitions/DataAttribute.yaml
allOf:
- $ref: ../definitions/DataAttribute.yaml
- type: object
properties:
dataAgreement:
$ref: ../definitions/DataAttributeExtras.yaml
type: array
pagination:
$ref: "../definitions/Pagination.yaml"
Expand Down
2 changes: 0 additions & 2 deletions openapi/v2023.8.2/paths/configUpdateDataAttribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ responses:
properties:
dataAttribute:
$ref: ../definitions/DataAttribute.yaml
revision:
$ref: ../definitions/Revision.yaml
description: ""
"400":
description: bad input parameter
Expand Down

0 comments on commit eda55b7

Please sign in to comment.