mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: tidy up schema references
This commit is contained in:
parent
5a5ce6e273
commit
6dcbb7ade0
|
@ -6,7 +6,12 @@ delete:
|
||||||
summary: Delete a user from a project
|
summary: Delete a user from a project
|
||||||
description: Delete a user from a project from your instance.
|
description: Delete a user from a project from your instance.
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '../schemas/parameters/projectId.yml'
|
- name: projectId
|
||||||
|
in: path
|
||||||
|
description: The ID of the project.
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
- $ref: '../../../users/spec/schemas/parameters/userIdentifier.yml'
|
- $ref: '../../../users/spec/schemas/parameters/userIdentifier.yml'
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
|
@ -17,28 +22,3 @@ delete:
|
||||||
$ref: '../../../../shared/spec/responses/forbidden.yml'
|
$ref: '../../../../shared/spec/responses/forbidden.yml'
|
||||||
'404':
|
'404':
|
||||||
$ref: '../../../../shared/spec/responses/notFound.yml'
|
$ref: '../../../../shared/spec/responses/notFound.yml'
|
||||||
# put:
|
|
||||||
# x-eov-operation-id: updateProject
|
|
||||||
# x-eov-operation-handler: v1/handlers/projects/projects.handler
|
|
||||||
# tags:
|
|
||||||
# - Project
|
|
||||||
# summary: Update a project
|
|
||||||
# description: Update a project.
|
|
||||||
# requestBody:
|
|
||||||
# description: Updated project object.
|
|
||||||
# content:
|
|
||||||
# application/json:
|
|
||||||
# schema:
|
|
||||||
# $ref: '../schemas/project.yml'
|
|
||||||
# required: true
|
|
||||||
# responses:
|
|
||||||
# '204':
|
|
||||||
# description: Operation successful.
|
|
||||||
# '400':
|
|
||||||
# $ref: '../../../../shared/spec/responses/badRequest.yml'
|
|
||||||
# '401':
|
|
||||||
# $ref: '../../../../shared/spec/responses/unauthorized.yml'
|
|
||||||
# '403':
|
|
||||||
# $ref: '../../../../shared/spec/responses/forbidden.yml'
|
|
||||||
# '404':
|
|
||||||
# $ref: '../../../../shared/spec/responses/notFound.yml'
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ put:
|
||||||
- Project
|
- Project
|
||||||
summary: Update a project
|
summary: Update a project
|
||||||
description: Update a project.
|
description: Update a project.
|
||||||
|
parameters:
|
||||||
|
- $ref: '../schemas/parameters/projectId.yml'
|
||||||
requestBody:
|
requestBody:
|
||||||
description: Updated project object.
|
description: Updated project object.
|
||||||
content:
|
content:
|
||||||
|
|
Loading…
Reference in a new issue