mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
POST, PUT, PATCH working for thirdparty and added to swagger. Assert for 'centers'(temporarily) removed from thirdparty entity
This commit is contained in:
@@ -16,14 +16,32 @@ components:
|
||||
id:
|
||||
type: integer
|
||||
readOnly: true
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- "thirdparty"
|
||||
name:
|
||||
type: string
|
||||
nameCompany:
|
||||
type: string
|
||||
acronym:
|
||||
type: string
|
||||
email:
|
||||
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
|
||||
|
||||
paths:
|
||||
/1.0/thirdparty/thirdparty.json:
|
||||
|
Reference in New Issue
Block a user