Skip to content

Commit ce2e2d7

Browse files
authored
chore!: add additionalProperties false to v2 components (#201)
* chore: add additionalProperties false to components * chore: dep * chore: dep
1 parent 87509df commit ce2e2d7

File tree

328 files changed

+5042
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+5042
-108
lines changed

docs/fspiop-rest-v2.0-ISO20022-openapi3-snippets.yaml

Lines changed: 100 additions & 1 deletion
Large diffs are not rendered by default.

docs/fspiop-rest-v2.0-openapi3-snippets.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,6 +2704,7 @@ components:
27042704
AuthenticationInfo:
27052705
title: AuthenticationInfo
27062706
type: object
2707+
additionalProperties: false
27072708
description: Data model for the complex type AuthenticationInfo.
27082709
properties:
27092710
authentication:
@@ -2752,6 +2753,7 @@ components:
27522753
AuthorizationsIDPutResponse:
27532754
title: AuthorizationsIDPutResponse
27542755
type: object
2756+
additionalProperties: false
27552757
description: The object sent in the PUT /authorizations/{ID} callback.
27562758
properties:
27572759
authenticationInfo:
@@ -2790,6 +2792,7 @@ components:
27902792
BulkQuotesIDPutResponse:
27912793
title: BulkQuotesIDPutResponse
27922794
type: object
2795+
additionalProperties: false
27932796
description: The object sent in the PUT /bulkQuotes/{ID} callback.
27942797
properties:
27952798
individualQuoteResults:
@@ -2809,6 +2812,7 @@ components:
28092812
BulkQuotesPostRequest:
28102813
title: BulkQuotesPostRequest
28112814
type: object
2815+
additionalProperties: false
28122816
description: The object sent in the POST /bulkQuotes request.
28132817
properties:
28142818
bulkQuoteId:
@@ -2861,6 +2865,7 @@ components:
28612865
BulkTransfersIDPutResponse:
28622866
title: BulkTransfersIDPutResponse
28632867
type: object
2868+
additionalProperties: false
28642869
description: The object sent in the PUT /bulkTransfers/{ID} callback.
28652870
properties:
28662871
completedTimestamp:
@@ -2880,6 +2885,7 @@ components:
28802885
BulkTransfersPostRequest:
28812886
title: BulkTransfersPostRequest
28822887
type: object
2888+
additionalProperties: false
28832889
description: The object sent in the POST /bulkTransfers request.
28842890
properties:
28852891
bulkTransferId:
@@ -3165,6 +3171,7 @@ components:
31653171
ErrorInformation:
31663172
title: ErrorInformation
31673173
type: object
3174+
additionalProperties: false
31683175
description: Data model for the complex type ErrorInformation.
31693176
properties:
31703177
errorCode:
@@ -3179,6 +3186,7 @@ components:
31793186
ErrorInformationObject:
31803187
title: ErrorInformationObject
31813188
type: object
3189+
additionalProperties: false
31823190
description: Data model for the complex type object that contains ErrorInformation.
31833191
properties:
31843192
errorInformation:
@@ -3188,6 +3196,7 @@ components:
31883196
ErrorInformationResponse:
31893197
title: ErrorInformationResponse
31903198
type: object
3199+
additionalProperties: false
31913200
description: >-
31923201
Data model for the complex type object that contains an optional element
31933202
ErrorInformation used along with 4xx and 5xx responses.
@@ -3197,6 +3206,7 @@ components:
31973206
Extension:
31983207
title: Extension
31993208
type: object
3209+
additionalProperties: false
32003210
description: Data model for the complex type Extension.
32013211
properties:
32023212
key:
@@ -3215,6 +3225,7 @@ components:
32153225
ExtensionList:
32163226
title: ExtensionList
32173227
type: object
3228+
additionalProperties: false
32183229
description: >-
32193230
Data model for the complex type ExtensionList. An optional list of
32203231
extensions, specific to deployment.
@@ -3253,6 +3264,7 @@ components:
32533264
FxCharge:
32543265
title: FxCharge
32553266
type: object
3267+
additionalProperties: false
32563268
description: >-
32573269
An FXP will be able to specify a charge which it proposes to levy on the
32583270
currency conversion operation using a FxCharge object.
@@ -3279,6 +3291,7 @@ components:
32793291
FxConversion:
32803292
title: FxConversion
32813293
type: object
3294+
additionalProperties: false
32823295
description: >-
32833296
A DFSP will be able to request a currency conversion, and an FX provider
32843297
will be able to describe its involvement in a proposed transfer, using a
@@ -3353,6 +3366,7 @@ components:
33533366
FxMoney:
33543367
title: FxMoney
33553368
type: object
3369+
additionalProperties: false
33563370
description: >-
33573371
Data model for the complex type FxMoney; This is based on the type Money
33583372
but allows the amount to be optional to support FX quotations.
@@ -3366,6 +3380,7 @@ components:
33663380
FxQuotesIDPutResponse:
33673381
title: FxQuotesIDPutResponse
33683382
type: object
3383+
additionalProperties: false
33693384
description: The object sent in the PUT /fxQuotes/{ID} callback.
33703385
properties:
33713386
condition:
@@ -3383,6 +3398,7 @@ components:
33833398
FxQuotesPostRequest:
33843399
title: FxQuotesPostRequest
33853400
type: object
3401+
additionalProperties: false
33863402
description: The object sent in the POST /fxQuotes request.
33873403
properties:
33883404
conversionRequestId:
@@ -3401,6 +3417,7 @@ components:
34013417
FxRate:
34023418
title: FxRate
34033419
type: object
3420+
additionalProperties: false
34043421
description: >-
34053422
The FxRate object contains information about a currency conversion in
34063423
the transfer. It can be used by parties to the transfer to exchange
@@ -3421,6 +3438,7 @@ components:
34213438
FxTransfersIDPatchResponse:
34223439
title: FxTransfersIDPatchResponse
34233440
type: object
3441+
additionalProperties: false
34243442
description: PATCH /fxTransfers/{ID} object
34253443
properties:
34263444
completedTimestamp:
@@ -3438,6 +3456,7 @@ components:
34383456
FxTransfersIDPutResponse:
34393457
title: FxTransfersIDPutResponse
34403458
type: object
3459+
additionalProperties: false
34413460
description: The object sent in the PUT /fxTransfers/{ID} callback.
34423461
properties:
34433462
fulfilment:
@@ -3462,6 +3481,7 @@ components:
34623481
FxTransfersPostRequest:
34633482
title: FxTransfersPostRequest
34643483
type: object
3484+
additionalProperties: false
34653485
description: The object sent in the POST /fxTransfers request.
34663486
properties:
34673487
commitRequestId:
@@ -3514,6 +3534,7 @@ components:
35143534
GeoCode:
35153535
title: GeoCode
35163536
type: object
3537+
additionalProperties: false
35173538
description: >-
35183539
Data model for the complex type GeoCode. Indicates the geographic
35193540
location from where the transaction was initiated.
@@ -3550,6 +3571,7 @@ components:
35503571
IndividualQuote:
35513572
title: IndividualQuote
35523573
type: object
3574+
additionalProperties: false
35533575
description: Data model for the complex type IndividualQuote.
35543576
properties:
35553577
quoteId:
@@ -3580,6 +3602,7 @@ components:
35803602
IndividualQuoteResult:
35813603
title: IndividualQuoteResult
35823604
type: object
3605+
additionalProperties: false
35833606
description: Data model for the complex type IndividualQuoteResult.
35843607
properties:
35853608
quoteId:
@@ -3607,6 +3630,7 @@ components:
36073630
IndividualTransfer:
36083631
title: IndividualTransfer
36093632
type: object
3633+
additionalProperties: false
36103634
description: Data model for the complex type IndividualTransfer.
36113635
properties:
36123636
transferId:
@@ -3627,6 +3651,7 @@ components:
36273651
IndividualTransferResult:
36283652
title: IndividualTransferResult
36293653
type: object
3654+
additionalProperties: false
36303655
description: Data model for the complex type IndividualTransferResult.
36313656
properties:
36323657
transferId:
@@ -3732,6 +3757,7 @@ components:
37323757
Money:
37333758
title: Money
37343759
type: object
3760+
additionalProperties: false
37353761
description: Data model for the complex type Money.
37363762
properties:
37373763
currency:
@@ -3778,6 +3804,7 @@ components:
37783804
ParticipantsIDPutResponse:
37793805
title: ParticipantsIDPutResponse
37803806
type: object
3807+
additionalProperties: false
37813808
description: The object sent in the PUT /participants/{ID} callback.
37823809
properties:
37833810
partyList:
@@ -3796,6 +3823,7 @@ components:
37963823
ParticipantsPostRequest:
37973824
title: ParticipantsPostRequest
37983825
type: object
3826+
additionalProperties: false
37993827
description: The object sent in the POST /participants request.
38003828
properties:
38013829
requestId:
@@ -3817,6 +3845,7 @@ components:
38173845
ParticipantsTypeIDPutResponse:
38183846
title: ParticipantsTypeIDPutResponse
38193847
type: object
3848+
additionalProperties: false
38203849
description: >-
38213850
The object sent in the PUT /participants/{Type}/{ID}/{SubId} and
38223851
/participants/{Type}/{ID} callbacks.
@@ -3826,6 +3855,7 @@ components:
38263855
ParticipantsTypeIDSubIDPostRequest:
38273856
title: ParticipantsTypeIDSubIDPostRequest
38283857
type: object
3858+
additionalProperties: false
38293859
description: >-
38303860
The object sent in the POST /participants/{Type}/{ID}/{SubId} and
38313861
/participants/{Type}/{ID} requests. An additional optional ExtensionList
@@ -3842,6 +3872,7 @@ components:
38423872
PartiesTypeIDPutResponse:
38433873
title: PartiesTypeIDPutResponse
38443874
type: object
3875+
additionalProperties: false
38453876
description: The object sent in the PUT /parties/{Type}/{ID} callback.
38463877
properties:
38473878
party:
@@ -3851,6 +3882,7 @@ components:
38513882
Party:
38523883
title: Party
38533884
type: object
3885+
additionalProperties: false
38543886
description: Data model for the complex type Party.
38553887
properties:
38563888
partyIdInfo:
@@ -3873,6 +3905,7 @@ components:
38733905
PartyComplexName:
38743906
title: PartyComplexName
38753907
type: object
3908+
additionalProperties: false
38763909
description: Data model for the complex type PartyComplexName.
38773910
properties:
38783911
firstName:
@@ -3884,6 +3917,7 @@ components:
38843917
PartyIdInfo:
38853918
title: PartyIdInfo
38863919
type: object
3920+
additionalProperties: false
38873921
description: >-
38883922
Data model for the complex type PartyIdInfo. An ExtensionList element
38893923
has been added to this reqeust in version v1.1
@@ -3975,6 +4009,7 @@ components:
39754009
PartyPersonalInfo:
39764010
title: PartyPersonalInfo
39774011
type: object
4012+
additionalProperties: false
39784013
description: Data model for the complex type PartyPersonalInfo.
39794014
properties:
39804015
complexName:
@@ -3986,6 +4021,7 @@ components:
39864021
PartyResult:
39874022
title: PartyResult
39884023
type: object
4024+
additionalProperties: false
39894025
description: Data model for the complex type PartyResult.
39904026
properties:
39914027
partyId:
@@ -4066,6 +4102,7 @@ components:
40664102
QuotesIDPutResponse:
40674103
title: QuotesIDPutResponse
40684104
type: object
4105+
additionalProperties: false
40694106
description: The object sent in the PUT /quotes/{ID} callback.
40704107
properties:
40714108
transferAmount:
@@ -4094,6 +4131,7 @@ components:
40944131
QuotesPostRequest:
40954132
title: QuotesPostRequest
40964133
type: object
4134+
additionalProperties: false
40974135
description: The object sent in the POST /quotes request.
40984136
properties:
40994137
quoteId:
@@ -4153,6 +4191,7 @@ components:
41534191
Refund:
41544192
title: Refund
41554193
type: object
4194+
additionalProperties: false
41564195
description: Data model for the complex type Refund.
41574196
properties:
41584197
originalTransactionId:
@@ -4171,6 +4210,7 @@ components:
41714210
ServicesFXPPutResponse:
41724211
title: ServicesFXPPutResponse
41734212
type: object
4213+
additionalProperties: false
41744214
description: The object sent in the PUT /services/FXP callback.
41754215
properties:
41764216
providers:
@@ -4187,6 +4227,7 @@ components:
41874227
ServicesFXPSourceCurrencyTargetCurrencyPutResponse:
41884228
title: ServicesFXPSourceCurrencyTargetCurrencyPutResponse
41894229
type: object
4230+
additionalProperties: false
41904231
description: >-
41914232
The object sent in the PUT
41924233
/services/FXP/{SourceCurrency}/{TargetCurrency} callback.
@@ -4213,6 +4254,7 @@ components:
42134254
Transaction:
42144255
title: Transaction
42154256
type: object
4257+
additionalProperties: false
42164258
description: >-
42174259
Data model for the complex type Transaction. The Transaction type is
42184260
used to carry end-to-end data between the Payer FSP and the Payee FSP in
@@ -4317,6 +4359,7 @@ components:
43174359
TransactionRequestsIDPutResponse:
43184360
title: TransactionRequestsIDPutResponse
43194361
type: object
4362+
additionalProperties: false
43204363
description: The object sent in the PUT /transactionRequests/{ID} callback.
43214364
properties:
43224365
transactionId:
@@ -4330,6 +4373,7 @@ components:
43304373
TransactionRequestsPostRequest:
43314374
title: TransactionRequestsPostRequest
43324375
type: object
4376+
additionalProperties: false
43334377
description: The object sent in the POST /transactionRequests request.
43344378
properties:
43354379
transactionRequestId:
@@ -4417,6 +4461,7 @@ components:
44174461
TransactionType:
44184462
title: TransactionType
44194463
type: object
4464+
additionalProperties: false
44204465
description: Data model for the complex type TransactionType.
44214466
properties:
44224467
scenario:
@@ -4438,6 +4483,7 @@ components:
44384483
TransactionsIDPutResponse:
44394484
title: TransactionsIDPutResponse
44404485
type: object
4486+
additionalProperties: false
44414487
description: The object sent in the PUT /transactions/{ID} callback.
44424488
properties:
44434489
completedTimestamp:
@@ -4473,6 +4519,7 @@ components:
44734519
TransfersIDPatchResponse:
44744520
title: TransfersIDPatchResponse
44754521
type: object
4522+
additionalProperties: false
44764523
description: PATCH /transfers/{ID} object
44774524
properties:
44784525
completedTimestamp:
@@ -4487,6 +4534,7 @@ components:
44874534
TransfersIDPutResponse:
44884535
title: TransfersIDPutResponse
44894536
type: object
4537+
additionalProperties: false
44904538
description: The object sent in the PUT /transfers/{ID} callback.
44914539
properties:
44924540
fulfilment:
@@ -4502,6 +4550,7 @@ components:
45024550
TransfersPostRequest:
45034551
title: TransfersPostRequest
45044552
type: object
4553+
additionalProperties: false
45054554
description: The object sent in the POST /transfers request.
45064555
properties:
45074556
transferId:
@@ -4540,6 +4589,7 @@ components:
45404589
U2FPinValue:
45414590
title: U2FPinValue
45424591
type: object
4592+
additionalProperties: false
45434593
description: >
45444594
U2F challenge-response, where payer FSP verifies if the response
45454595
provided by end-user device matches the previously registered key.

0 commit comments

Comments
 (0)