nullable api params and tenancy mapping

This commit is contained in:
2021-09-11 17:07:39 +02:00
parent df4adecda1
commit 05823a1829
4 changed files with 204 additions and 10 deletions

View File

@ -1519,26 +1519,37 @@ components:
type: integer
salutation:
type: string
nullable: true
firstname:
type: string
nullable: true
lastname:
type: string
nullable: true
address1:
type: string
nullable: true
address2:
type: string
nullable: true
address3:
type: string
nullable: true
zip:
type: string
nullable: true
city:
type: string
nullable: true
phone1:
type: string
nullable: true
phone2:
type: string
nullable: true
iban:
type: string
nullable: true
account:
type: integer
premise:
@ -1549,6 +1560,7 @@ components:
type: integer
description:
type: string
nullable: true
street:
type: string
zip:
@ -1563,12 +1575,15 @@ components:
type: integer
description:
type: string
nullable: true
premise:
type: integer
nullable: true
area:
type: number
flat_no:
type: integer
nullable: true
overhead_advance:
description: overhead_advance
type: object
@ -1577,12 +1592,15 @@ components:
type: integer
description:
type: string
nullable: true
amount:
type: number
startdate:
type: string
nullable: true
enddate:
type: string
nullable: true
overhead_advance_flat_mapping:
description: overhead_advance_flat_mapping
type: object
@ -1601,8 +1619,10 @@ components:
type: integer
description:
type: string
nullable: true
premise:
type: integer
nullable: true
commercial_premise:
description: commercial_premise
type: object
@ -1611,8 +1631,10 @@ components:
type: integer
description:
type: string
nullable: true
premise:
type: integer
nullable: true
tenancy:
description: tenancy
type: object
@ -1621,18 +1643,23 @@ components:
type: integer
description:
type: string
nullable: true
tenant:
type: integer
flat:
type: integer
nullable: true
parking:
type: integer
nullable: true
commercial_premise:
type: integer
nullable: true
startdate:
type: string
enddate:
type: string
nullable: true
fee:
description: fee
type: object
@ -1641,14 +1668,17 @@ components:
type: integer
description:
type: string
nullable: true
amount:
type: number
fee_type:
type: string
startdate:
type: string
nullable: true
enddate:
type: string
nullable: true
tenancy_fee_mapping:
description: tenancy_fee_mapping
type: object

View File

@ -151,5 +151,8 @@ components:
#for $column in $table.columns
$column.name:
type: $column.apitype
#if (('notnull' not in $column) or (not $column.notnull))
nullable: true
#end if
#end for
#end for