Skip to content

Commit

Permalink
openapi: PUT /workspace should be PUT /workspace/{workspace-id}
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Feb 14, 2022
1 parent 9fb6eb3 commit 21b57ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ paths:
description: Workspace created
content:
application/json: {schema: {$ref: '/components/schemas/Workspace'}}

'/workspace/{workspace-id}':
put:
tags: ['workspace']
summary: Replace an existing workspace
Expand All @@ -292,8 +294,6 @@ paths:
description: Workspace replaced
content:
application/json: {schema: {$ref: '#/components/schemas/Workspace'}}

'/workspace/{workspace-id}':
get:
tags: ['workspace']
operationId: getWorkspace
Expand Down

0 comments on commit 21b57ed

Please sign in to comment.