Skip to content

Commit

Permalink
Add title and description to workspaces, removed updating the quota
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Dec 1, 2023
1 parent 476b78a commit 7fdd42a
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions extensions/workspaces/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ paths:
required:
- intent
properties:
title:
type: string
intent:
type: string
quota:
Expand Down Expand Up @@ -205,8 +207,10 @@ paths:
schema:
type: object
properties:
quota:
$ref: '../../openapi.yaml#/components/schemas/max_storage_quota'
title:
$ref: '#/components/schemas/workspace_title'
description:
$ref: '#/components/schemas/workspace_description'
required: true
responses:
'204':
Expand Down Expand Up @@ -337,6 +341,17 @@ components:
type: string
pattern: '^[\w\-\.~]+$'
example: my-collection
workspace_title:
type: string
description: A short title for the workspace.
workspace_description:
type: string
format: commonmark
description: |-
A description that describes the workspace.
[CommonMark 0.29](http://commonmark.org/) syntax MAY be used for rich
text representation.
workspace:
title: Workspace
required:
Expand All @@ -346,6 +361,10 @@ components:
properties:
id:
$ref: '#/components/schemas/workspace_id'
title:
$ref: '#/components/schemas/workspace_title'
description:
$ref: '#/components/schemas/workspace_description'
status:
type: string
description: The status of the workspace.
Expand Down

0 comments on commit 7fdd42a

Please sign in to comment.