Merge branch 'onTheFly' of gitlab.com:Chill-Projet/chill-bundles into onTheFly

This commit is contained in:
Mathieu Jaumotte 2021-09-30 12:04:59 +02:00
commit 29838a4d8e

View File

@ -26,22 +26,14 @@ components:
type: string
telephone:
type: string
comment:
type: string
# centers:
# type: array
# items:
# type: object
# $ref: "#/components/schemas/CenterById"
# CenterById:
# type: object
# properties:
# type:
# type: string
# enum:
# - "Center"
# id:
# type: integer
address:
$ref: "#/components/schemas/Address"
Address:
type: object
properties:
id:
type: integer
paths:
/1.0/thirdparty/thirdparty.json:
@ -118,33 +110,3 @@ paths:
description: "OK"
422:
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"