Skip to content

Commit

Permalink
Upd: remove array response
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 a23b7d5 commit 516c727
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 33 deletions.
55 changes: 26 additions & 29 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1456,31 +1456,7 @@ paths:
schema:
properties:
organisation:
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
$ref: '#/paths/~1onboard~1organisation/put/responses/200/content/application~1json/schema'
required:
- organisation
type: object
Expand Down Expand Up @@ -1518,10 +1494,31 @@ paths:
content:
application/json:
schema:
items:
oneOf:
- $ref: '#/paths/~1onboard~1organisation/get/responses/200/content/application~1json/schema/properties/organisation'
type: array
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
description: Updated the organisation
security:
- BearerAuth: []
Expand Down
5 changes: 1 addition & 4 deletions openapi/v2023.8.2/paths/updateOrganisation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ responses:
content:
application/json:
schema:
items:
oneOf:
- $ref: ../definitions/Organisation.yaml
type: array
$ref: ../definitions/Organisation.yaml
description: "Updated the organisation"
security:
- BearerAuth: []
Expand Down

0 comments on commit 516c727

Please sign in to comment.