Skip to content

Commit

Permalink
Upd: Change update organisation
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 12, 2023
1 parent 516c727 commit a7a0123
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 25 deletions.
53 changes: 29 additions & 24 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,31 @@ paths:
schema:
properties:
organisation:
$ref: '#/paths/~1onboard~1organisation/put/responses/200/content/application~1json/schema'
required:
- name
- location
- description
- policyUrl
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
location:
type: string
policyUrl:
type: string
coverImageId:
type: string
coverImageUrl:
type: string
logoImageId:
type: string
logoImageUrl:
type: string
required:
- organisation
type: object
Expand Down Expand Up @@ -1494,31 +1518,12 @@ paths:
content:
application/json:
schema:
properties:
organisation:
$ref: '#/paths/~1onboard~1organisation/get/responses/200/content/application~1json/schema/properties/organisation'
required:
- name
- location
- description
- policyUrl
- organisation
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
location:
type: string
policyUrl:
type: string
coverImageId:
type: string
coverImageUrl:
type: string
logoImageId:
type: string
logoImageUrl:
type: string
description: Updated the organisation
security:
- BearerAuth: []
Expand Down
7 changes: 6 additions & 1 deletion openapi/v2023.8.2/paths/updateOrganisation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ responses:
content:
application/json:
schema:
$ref: ../definitions/Organisation.yaml
properties:
organisation:
$ref: ../definitions/Organisation.yaml
required:
- organisation
type: object
description: "Updated the organisation"
security:
- BearerAuth: []
Expand Down

0 comments on commit a7a0123

Please sign in to comment.