mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -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
|
||||
description: Delete a user from a project from your instance.
|
||||
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'
|
||||
responses:
|
||||
'204':
|
||||
|
@ -17,28 +22,3 @@ delete:
|
|||
$ref: '../../../../shared/spec/responses/forbidden.yml'
|
||||
'404':
|
||||
$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
|
||||
summary: Update a project
|
||||
description: Update a project.
|
||||
parameters:
|
||||
- $ref: '../schemas/parameters/projectId.yml'
|
||||
requestBody:
|
||||
description: Updated project object.
|
||||
content:
|
||||
|
|
Loading…
Reference in a new issue