Skip to content

Commit

Permalink
Upd: Fix the equivalent paths error
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Sep 15, 2023
1 parent 537b834 commit 34eca94
Show file tree
Hide file tree
Showing 10 changed files with 316 additions and 321 deletions.
87 changes: 43 additions & 44 deletions openapi/v2023.8.1/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2444,41 +2444,25 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organizations/{orgId}/templates/{templateId}':
put:
'/v1/organizations/{orgId}/purposes/{purposeId}/templates':
delete:
tags:
- config
description: Update data attribute by id
description: Delete multiple data attributes
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateId
- name: purposeId
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
required:
- Consent
- PurposeIDs
type: object
properties:
Consent:
type: string
PurposeIDs:
type: array
items:
type: string
required: true
responses:
'201':
description: Created
'200':
description: OK
content:
application/json:
schema:
Expand All @@ -2491,17 +2475,18 @@ paths:
deprecated: false
security:
- BearerAuth: []
delete:
'/v1/organizations/{orgId}/templates/{templateID}':
get:
tags:
- config
description: Delete data attribute by id
description: Get data attribute by ID
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateId
- name: templateID
in: path
required: true
schema:
Expand All @@ -2513,33 +2498,51 @@ paths:
application/json:
schema:
required:
- Organization
- OrgID
- Template
type: object
properties:
Organization:
$ref: '#/components/schemas/Organisation'
OrgID:
type: string
Template:
$ref: '#/components/schemas/DataAttribute'
deprecated: false
security:
- BearerAuth: []
'/v1/organizations/{orgId}/purposes/{purposeId}/templates':
delete:
put:
tags:
- config
description: Delete multiple data attributes
description: Update data attribute by id
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: purposeId
- name: templateId
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
required:
- Consent
- PurposeIDs
type: object
properties:
Consent:
type: string
PurposeIDs:
type: array
items:
type: string
required: true
responses:
'200':
description: OK
'201':
description: Created
content:
application/json:
schema:
Expand All @@ -2552,18 +2555,17 @@ paths:
deprecated: false
security:
- BearerAuth: []
'/v1/organizations/{orgId}/templates/{templateID}':
get:
delete:
tags:
- config
description: Get data attribute by ID
description: Delete data attribute by id
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateID
- name: templateId
in: path
required: true
schema:
Expand All @@ -2575,14 +2577,11 @@ paths:
application/json:
schema:
required:
- OrgID
- Template
- Organization
type: object
properties:
OrgID:
type: string
Template:
$ref: '#/components/schemas/DataAttribute'
Organization:
$ref: '#/components/schemas/Organisation'
deprecated: false
security:
- BearerAuth: []
Expand Down
4 changes: 1 addition & 3 deletions openapi/v2023.8.1/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,10 @@ paths:
$ref: "./paths/config/consentAgreements/getDeleteUpdateConsentAgreementByID.yaml"
/v1/organizations/{orgId}/templates:
$ref: "./paths/config/dataAttributes/getAndAddDataAttributes.yaml"
/v1/organizations/{orgId}/templates/{templateId}:
$ref: "./paths/config/dataAttributes/updateAndDeleteDataAttributeByID.yaml"
/v1/organizations/{orgId}/purposes/{purposeId}/templates:
$ref: "./paths/config/dataAttributes/deleteMultipleDataAttributes.yaml"
/v1/organizations/{orgId}/templates/{templateID}:
$ref: "./paths/config/dataAttributes/getDataAttributeByID.yaml"
$ref: "./paths/config/dataAttributes/getUpdateAndDeleteDataAttributeByID.yaml"
/v1/organizations/{orgId}/idp/open-id:
$ref: "./paths/config/manageIndividuals/subscription/addGetUpdateAndDeleteIdentityProvider.yaml"
/v1/organizations/{orgId}/subscription/enable:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
get:
tags:
- config
description: Get data attribute by ID
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateID
in: path
required: true
schema:
type: string
responses:
"201":
description: Created
content:
application/json:
schema:
required:
- OrgID
- Template
type: object
properties:
OrgID:
type: string
Template:
$ref: "../../../definitions/config/DataAttribute.yaml"
deprecated: false
security:
- BearerAuth: []
put:
tags:
- config
description: Update data attribute by id
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateId
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
required:
- Consent
- PurposeIDs
type: object
properties:
Consent:
type: string
PurposeIDs:
type: array
items:
type: string
required: true
responses:
"201":
description: Created
content:
application/json:
schema:
required:
- Organization
type: object
properties:
Organization:
$ref: "../../../definitions/onboarding/Organisation.yaml"
deprecated: false
security:
- BearerAuth: []
delete:
tags:
- config
description: Delete data attribute by id
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: templateId
in: path
required: true
schema:
type: string
responses:
"201":
description: Created
content:
application/json:
schema:
required:
- Organization
type: object
properties:
Organization:
$ref: "../../../definitions/onboarding/Organisation.yaml"
deprecated: false
security:
- BearerAuth: []
Loading

0 comments on commit 34eca94

Please sign in to comment.