Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 16 additions & 28 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7209,11 +7209,8 @@ components:
type: string
description: Name of the file.
editor_type:
type: string
$ref: "#/components/schemas/EditorType"
description: Indicates if the object is a file on Figma Design or FigJam.
enum:
- figma
- figjam
link_access:
$ref: "#/components/schemas/LinkAccess"
description: Access policy for users who have the link to the file.
Expand Down Expand Up @@ -7348,12 +7345,9 @@ components:
type: string
description: Name of the plugin.
editor_type:
type: string
$ref: "#/components/schemas/EditorType"
description: Indicates if the object is a plugin is available on Figma Design or
FigJam.
enum:
- figma
- figjam
required:
- type
- id
Expand All @@ -7375,12 +7369,9 @@ components:
type: string
description: Name of the widget.
editor_type:
type: string
$ref: "#/components/schemas/EditorType"
description: Indicates if the object is a widget available on Figma Design or
FigJam.
enum:
- figma
- figjam
required:
- type
- id
Expand Down Expand Up @@ -8509,6 +8500,16 @@ components:
- error
- status
- message
EditorType:
type: string
description: The type of editor.
enum:
- figma
- figjam
- slides
- buzz
- sites
- make
Comment on lines +8506 to +8512
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I was too aggressive here since I don't know the full Figma product portfolio. If not this then it should just be [figma, figjam] for the values.

LinkAccess:
type: string
description: Access policy for users who have the link to the resource.
Expand Down Expand Up @@ -8545,10 +8546,7 @@ components:
format: date-time
description: The UTC ISO 8601 time at which the file was last modified.
editorType:
type: string
enum:
- figma
- figjam
$ref: "#/components/schemas/EditorType"
description: The type of editor associated with this file.
thumbnailUrl:
type: string
Expand Down Expand Up @@ -8640,10 +8638,7 @@ components:
format: date-time
description: The UTC ISO 8601 time at which the file was last modified.
editorType:
type: string
enum:
- figma
- figjam
$ref: "#/components/schemas/EditorType"
description: The type of editor associated with this file.
thumbnailUrl:
type: string
Expand Down Expand Up @@ -8776,14 +8771,7 @@ components:
type: string
description: A URL to a thumbnail image of the file.
editorType:
type: string
enum:
- figma
- figjam
- slides
- buzz
- sites
- make
$ref: "#/components/schemas/EditorType"
description: The type of editor associated with this file.
role:
$ref: "#/components/schemas/Role"
Expand Down