Skip to content

Commit

Permalink
Upd: Remove data attribute extras from data attribute object and keep…
Browse files Browse the repository at this point in the history
… it in listing

Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 23, 2023
1 parent d3012b8 commit 3aab1fa
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
23 changes: 13 additions & 10 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,15 +1069,6 @@ paths:
format: ''
example: ''
description: Version of the data attribute
agreements:
type: array
items:
type: object
properties:
id:
type: string
purpose:
type: string
agreementIds:
type: array
items:
Expand Down Expand Up @@ -1235,7 +1226,19 @@ paths:
properties:
dataAttributes:
items:
$ref: '#/paths/~1config~1data-agreements~1data-attribute/post/responses/200/content/application~1json/schema/properties/dataAttribute'
allOf:
- $ref: '#/paths/~1config~1data-agreements~1data-attribute/post/responses/200/content/application~1json/schema/properties/dataAttribute'
- type: object
properties:
dataAgreements:
type: array
items:
type: object
properties:
id:
type: string
purpose:
type: string
type: array
pagination:
$ref: '#/components/schemas/Pagination'
Expand Down
3 changes: 0 additions & 3 deletions openapi/v2023.8.2/definitions/DataAttribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ properties:
example: ""
description: "Version of the data attribute"

agreements:
$ref: "./DataAttributeExtras.yaml"

agreementIds:
type: array
items:
Expand Down
7 changes: 6 additions & 1 deletion openapi/v2023.8.2/paths/configListDataAttribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ responses:
properties:
dataAttributes:
items:
$ref: ../definitions/DataAttribute.yaml
allOf:
- $ref: ../definitions/DataAttribute.yaml
- type: object
properties:
dataAgreements:
$ref: ../definitions/DataAttributeExtras.yaml
type: array
pagination:
$ref: "../definitions/Pagination.yaml"
Expand Down

0 comments on commit 3aab1fa

Please sign in to comment.