fix: refactor schema to make test server work

This commit is contained in:
Marc Littlemore 2024-12-20 10:38:07 +00:00
parent 6dcbb7ade0
commit d471ed1ecb
No known key found for this signature in database
2 changed files with 13 additions and 3 deletions

View file

@ -11,7 +11,7 @@ delete:
description: The ID of the project.
required: true
schema:
type: string
type: string
- $ref: '../../../users/spec/schemas/parameters/userIdentifier.yml'
responses:
'204':

View file

@ -6,7 +6,12 @@ delete:
summary: Delete a project
description: Delete a project from your instance.
parameters:
- $ref: '../schemas/parameters/projectId.yml'
- in: path
name: projectId
description: The ID of the project.
required: true
schema:
type: string
responses:
'204':
description: Operation successful.
@ -24,7 +29,12 @@ put:
summary: Update a project
description: Update a project.
parameters:
- $ref: '../schemas/parameters/projectId.yml'
- in: path
name: projectId
description: The ID of the project.
required: true
schema:
type: string
requestBody:
description: Updated project object.
content: