Skip to content

Commit

Permalink
Automated build docs: 2024-11-11 18:09:57
Browse files Browse the repository at this point in the history
  • Loading branch information
asana-push-openapi-spec[bot] committed Nov 11, 2024
1 parent e9b3d77 commit d6a266e
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 5 deletions.
20 changes: 17 additions & 3 deletions defs/asana_oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -5846,6 +5848,8 @@ components:
description: >-
Gid of an object.
example: '12345'
TagUpdateRequest:
$ref: '#/components/schemas/TagBaseRequest'
TagResponse:
allOf:
- $ref: '#/components/schemas/TagBase'
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
136 changes: 134 additions & 2 deletions defs/asana_sdk_oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -44530,7 +44652,7 @@ paths:
type: object
properties:
data:
$ref: '#/components/schemas/TagRequest'
$ref: '#/components/schemas/TagCreateRequest'
responses:
201:
$ref: '#/components/responses/TagResponseData'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit d6a266e

Please sign in to comment.