POST, PUT, PATCH working for thirdparty and added to swagger. Assert for 'centers'(temporarily) removed from thirdparty entity

This commit is contained in:
2021-09-29 11:41:08 +02:00
parent 644d0420ce
commit fc1dd499c4
3 changed files with 25 additions and 24 deletions

View File

@@ -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: