mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch 'onTheFly' of gitlab.com:Chill-Projet/chill-bundles into onTheFly
This commit is contained in:
commit
29838a4d8e
@ -26,22 +26,14 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
telephone:
|
telephone:
|
||||||
type: string
|
type: string
|
||||||
comment:
|
address:
|
||||||
type: string
|
$ref: "#/components/schemas/Address"
|
||||||
# centers:
|
Address:
|
||||||
# type: array
|
type: object
|
||||||
# items:
|
properties:
|
||||||
# type: object
|
id:
|
||||||
# $ref: "#/components/schemas/CenterById"
|
type: integer
|
||||||
# CenterById:
|
|
||||||
# type: object
|
|
||||||
# properties:
|
|
||||||
# type:
|
|
||||||
# type: string
|
|
||||||
# enum:
|
|
||||||
# - "Center"
|
|
||||||
# id:
|
|
||||||
# type: integer
|
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
/1.0/thirdparty/thirdparty.json:
|
/1.0/thirdparty/thirdparty.json:
|
||||||
@ -118,33 +110,3 @@ paths:
|
|||||||
description: "OK"
|
description: "OK"
|
||||||
422:
|
422:
|
||||||
description: "Object with validation errors"
|
description: "Object with validation errors"
|
||||||
put:
|
|
||||||
tags:
|
|
||||||
- thirdparty
|
|
||||||
summary: Edit an existing thirdparty
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The thirdparty's id
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: integer
|
|
||||||
minimum: 1
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/Thirdparty"
|
|
||||||
responses:
|
|
||||||
401:
|
|
||||||
description: "Unauthorized"
|
|
||||||
404:
|
|
||||||
description: "Not found"
|
|
||||||
200:
|
|
||||||
description: "OK"
|
|
||||||
422:
|
|
||||||
description: "Unprocessable entity (validation errors)"
|
|
||||||
400:
|
|
||||||
description: "Bad Request"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user