diff --git a/openapi/v2023.8.2/bundled.yaml b/openapi/v2023.8.2/bundled.yaml index 1a54135..5203070 100644 --- a/openapi/v2023.8.2/bundled.yaml +++ b/openapi/v2023.8.2/bundled.yaml @@ -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 @@ -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: [] diff --git a/openapi/v2023.8.2/paths/updateOrganisation.yaml b/openapi/v2023.8.2/paths/updateOrganisation.yaml index f25d217..3f9363f 100644 --- a/openapi/v2023.8.2/paths/updateOrganisation.yaml +++ b/openapi/v2023.8.2/paths/updateOrganisation.yaml @@ -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: []