diff --git a/defs/asana_oas.yaml b/defs/asana_oas.yaml index 7fef6b1..2a76250 100644 --- a/defs/asana_oas.yaml +++ b/defs/asana_oas.yaml @@ -6976,6 +6976,13 @@ components: *Deprecated:* A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace. + MembershipUpdateRequest: + type: object + properties: + role: + description: The role given to the member. Can be `editor` or `commenter`. + type: string + example: editor MembershipRequest: type: object properties: @@ -6997,6 +7004,11 @@ components: description: The gid of the `goal` type: string example: '987654' + role: + description: The role given to the member. Optional argument, will default + to commenter. Can be `editor` or `commenter`. + type: string + example: editor MembershipResponse: anyOf: - $ref: '#/components/schemas/GoalMembershipResponse' @@ -14487,7 +14499,7 @@ paths: data: $ref: '#/components/schemas/CreateMembershipRequest' responses: - 200: + 201: description: >- Successfully created the requested membership. content: diff --git a/defs/asana_sdk_oas.yaml b/defs/asana_sdk_oas.yaml index 4844c0f..42d0bdd 100644 --- a/defs/asana_sdk_oas.yaml +++ b/defs/asana_sdk_oas.yaml @@ -28712,6 +28712,13 @@ components: deprecated: true readOnly: true x-docs-overrides: *id033 + MembershipUpdateRequest: + type: object + properties: + role: + description: The role given to the member. Can be `editor` or `commenter`. + type: string + example: editor MembershipRequest: type: object properties: @@ -28736,6 +28743,11 @@ components: description: The gid of the `goal` type: string example: '987654' + role: + description: The role given to the member. Optional argument, will default + to commenter. Can be `editor` or `commenter`. + type: string + example: editor MembershipResponse: anyOf: - description: >- @@ -33098,7 +33110,7 @@ paths: data: $ref: '#/components/schemas/CreateMembershipRequest' responses: - 200: + 201: $ref: '#/components/responses/MembershipResponseData' 400: $ref: '#/components/responses/BadRequest'