Make amountExclTax, taxCode, taxPercentage nullable schemas (+ example value always null for amountExclTax)
This commit is contained in:
parent
527ead5258
commit
de998b9add
@ -1936,9 +1936,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- sellingPriceId
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -1949,7 +1946,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: "V09"
|
||||
@ -1974,9 +1971,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- purchasePriceId
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -1986,7 +1980,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: "V09"
|
||||
|
||||
@ -1936,9 +1936,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- sellingPriceId
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -1949,7 +1946,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: "V09"
|
||||
@ -1974,9 +1971,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- purchasePriceId
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -1986,7 +1980,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: "V09"
|
||||
|
||||
@ -2542,9 +2542,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- sellingPriceId
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -2555,7 +2552,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: 'V09'
|
||||
@ -2580,7 +2577,6 @@ components:
|
||||
type: object
|
||||
required:
|
||||
- purchasePriceId
|
||||
- amountExclTax
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -2590,7 +2586,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: 'V09'
|
||||
@ -3407,9 +3403,6 @@ components:
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
@ -3417,7 +3410,7 @@ components:
|
||||
properties:
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: 'V09'
|
||||
@ -3452,16 +3445,13 @@ components:
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- amountExclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- amountInclTax
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
properties:
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
taxCode:
|
||||
type: string
|
||||
example: 'V09'
|
||||
@ -3798,10 +3788,7 @@ components:
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- amountExclTax
|
||||
- amountInclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
- internalPrice
|
||||
@ -3815,7 +3802,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
amountInclTax:
|
||||
type: integer
|
||||
example: 908
|
||||
@ -3850,10 +3837,7 @@ components:
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- amountExclTax
|
||||
- amountInclTax
|
||||
- taxCode
|
||||
- taxPercentage
|
||||
- fromInclusive
|
||||
- toInclusive
|
||||
properties:
|
||||
@ -3866,7 +3850,7 @@ components:
|
||||
example: 1
|
||||
amountExclTax:
|
||||
type: integer
|
||||
example: 750
|
||||
example: null
|
||||
amountInclTax:
|
||||
type: integer
|
||||
example: 908
|
||||
|
||||
Loading…
Reference in New Issue
Block a user