From d6a266ec81172d3853afe341add75c53c46278aa Mon Sep 17 00:00:00 2001 From: "asana-push-openapi-spec[bot]" <159858492+asana-push-openapi-spec[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:09:57 +0000 Subject: [PATCH] Automated build docs: 2024-11-11 18:09:57 --- defs/asana_oas.yaml | 20 +++++- defs/asana_sdk_oas.yaml | 136 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 151 insertions(+), 5 deletions(-) diff --git a/defs/asana_oas.yaml b/defs/asana_oas.yaml index 029b43c..80417ed 100644 --- a/defs/asana_oas.yaml +++ b/defs/asana_oas.yaml @@ -5825,9 +5825,11 @@ components: example: - '12345' - '42563' - TagRequest: + TagBaseRequest: + $ref: '#/components/schemas/TagBase' + TagCreateRequest: allOf: - - $ref: '#/components/schemas/TagBase' + - $ref: '#/components/schemas/TagBaseRequest' - type: object properties: followers: @@ -5846,6 +5848,8 @@ components: description: >- Gid of an object. example: '12345' + TagUpdateRequest: + $ref: '#/components/schemas/TagBaseRequest' TagResponse: allOf: - $ref: '#/components/schemas/TagBase' @@ -34628,7 +34632,7 @@ paths: type: object properties: data: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/TagCreateRequest' responses: 201: description: Successfully created the newly specified tag. @@ -34988,6 +34992,16 @@ paths: - workspace.name style: form explode: false + requestBody: + description: The tag to update. + required: true + content: + application/json: + schema: + type: object + properties: + data: + $ref: '#/components/schemas/TagUpdateRequest' responses: 200: description: Successfully updated the specified tag. diff --git a/defs/asana_sdk_oas.yaml b/defs/asana_sdk_oas.yaml index effe7e6..ee15f00 100644 --- a/defs/asana_sdk_oas.yaml +++ b/defs/asana_sdk_oas.yaml @@ -22392,7 +22392,68 @@ components: - '12345' - '42563' x-docs-overrides: *id028 - TagRequest: + TagBaseRequest: + description: >- + A generic Asana Resource, containing a globally unique identifier.A generic + Asana Resource, containing a globally unique identifier. + + A *tag* is a label that can be attached to any task in Asana. It exists in + a single workspace or organization. + type: object + properties: + gid: + description: >- + Globally unique identifier of the resource, as a string. + type: string + readOnly: true + example: '12345' + x-insert-after: false + resource_type: + description: The base type of this resource. + type: string + readOnly: true + example: task + x-insert-after: gid + name: + description: >- + Name of the tag. This is generally a short sentence fragment that + fits on a line in the UI for maximum readability. However, it can + be longer. + type: string + example: Stuff to buy + color: + type: string + description: Color of the tag. + nullable: true + enum: + - dark-pink + - dark-green + - dark-blue + - dark-red + - dark-teal + - dark-brown + - dark-orange + - dark-purple + - dark-warm-gray + - light-pink + - light-green + - light-blue + - light-red + - light-teal + - light-brown + - light-orange + - light-purple + - light-warm-gray + - null + example: light-green + notes: + description: >- + Free-form textual information associated with the + tag (i.e. its description). + type: string + example: Mittens really likes the stuff from Humboldt. + x-docs-overrides: *id028 + TagCreateRequest: description: >- A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. @@ -22469,6 +22530,67 @@ components: Gid of an object. example: '12345' x-docs-overrides: *id028 + TagUpdateRequest: + description: >- + A generic Asana Resource, containing a globally unique identifier.A generic + Asana Resource, containing a globally unique identifier. + + A *tag* is a label that can be attached to any task in Asana. It exists in + a single workspace or organization. + type: object + properties: + gid: + description: >- + Globally unique identifier of the resource, as a string. + type: string + readOnly: true + example: '12345' + x-insert-after: false + resource_type: + description: The base type of this resource. + type: string + readOnly: true + example: task + x-insert-after: gid + name: + description: >- + Name of the tag. This is generally a short sentence fragment that + fits on a line in the UI for maximum readability. However, it can + be longer. + type: string + example: Stuff to buy + color: + type: string + description: Color of the tag. + nullable: true + enum: + - dark-pink + - dark-green + - dark-blue + - dark-red + - dark-teal + - dark-brown + - dark-orange + - dark-purple + - dark-warm-gray + - light-pink + - light-green + - light-blue + - light-red + - light-teal + - light-brown + - light-orange + - light-purple + - light-warm-gray + - null + example: light-green + notes: + description: >- + Free-form textual information associated with the + tag (i.e. its description). + type: string + example: Mittens really likes the stuff from Humboldt. + x-docs-overrides: *id028 TagResponse: description: >- A generic Asana Resource, containing a globally unique identifier.A generic @@ -44530,7 +44652,7 @@ paths: type: object properties: data: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/TagCreateRequest' responses: 201: $ref: '#/components/responses/TagResponseData' @@ -44648,6 +44770,16 @@ paths: - workspace.name style: form explode: false + requestBody: + description: The tag to update. + required: true + content: + application/json; charset=UTF-8: + schema: + type: object + properties: + data: + $ref: '#/components/schemas/TagUpdateRequest' responses: 200: $ref: '#/components/responses/TagResponseData'