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