mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: refactor schema to make test server work
This commit is contained in:
parent
6dcbb7ade0
commit
d471ed1ecb
|
@ -11,7 +11,7 @@ delete:
|
||||||
description: The ID of the project.
|
description: The ID of the project.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
- $ref: '../../../users/spec/schemas/parameters/userIdentifier.yml'
|
- $ref: '../../../users/spec/schemas/parameters/userIdentifier.yml'
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
|
|
|
@ -6,7 +6,12 @@ delete:
|
||||||
summary: Delete a project
|
summary: Delete a project
|
||||||
description: Delete a project from your instance.
|
description: Delete a project from your instance.
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '../schemas/parameters/projectId.yml'
|
- in: path
|
||||||
|
name: projectId
|
||||||
|
description: The ID of the project.
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
description: Operation successful.
|
description: Operation successful.
|
||||||
|
@ -24,7 +29,12 @@ put:
|
||||||
summary: Update a project
|
summary: Update a project
|
||||||
description: Update a project.
|
description: Update a project.
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '../schemas/parameters/projectId.yml'
|
- in: path
|
||||||
|
name: projectId
|
||||||
|
description: The ID of the project.
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
requestBody:
|
requestBody:
|
||||||
description: Updated project object.
|
description: Updated project object.
|
||||||
content:
|
content:
|
||||||
|
|
Loading…
Reference in a new issue