-
Notifications
You must be signed in to change notification settings - Fork 1
/
nordigen.nswag
100 lines (100 loc) · 38.1 KB
/
nordigen.nswag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"runtime": "Net50",
"defaultVariables": null,
"documentGenerator": {
"fromDocument": {
"json": "{\r\n \"openapi\": \"3.0.3\",\r\n \"info\": {\r\n \"title\": \"\",\r\n \"version\": \"0.0.0\"\r\n },\r\n \"paths\": {\r\n \"/api/accounts/{id}/\": {\r\n \"get\": {\r\n \"operationId\": \"accounts_retrieve\",\r\n \"description\": \"Access account metadata.\\n\\nInformation about the account record, such as the processing status\\nand IBAN.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"description\": \"A UUID string identifying this account.\"\r\n },\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"accounts\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Account\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/accounts/{id}/balances/\": {\r\n \"get\": {\r\n \"operationId\": \"accounts_balances_retrieve\",\r\n \"description\": \"Access account balances.\\n\\nBalances will be returned in Berlin Group PSD2 format.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"description\": \"A UUID string identifying this account.\"\r\n },\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"accounts\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Account\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/accounts/{id}/details/\": {\r\n \"get\": {\r\n \"operationId\": \"accounts_details_retrieve\",\r\n \"description\": \"Access account details.\\n\\nAccount details will be returned in Berlin Group PSD2 format.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"description\": \"A UUID string identifying this account.\"\r\n },\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"accounts\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Account\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/accounts/{id}/transactions/\": {\r\n \"get\": {\r\n \"operationId\": \"accounts_transactions_retrieve\",\r\n \"description\": \"Access account transactions.\\n\\nTransactions will be returned in Berlin Group PSD2 format.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"description\": \"A UUID string identifying this account.\"\r\n },\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"accounts\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"No response body\"\r\n },\r\n \"409\": {\r\n \"description\": \"Account state does not support this operation\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/enduser/\": {\r\n \"get\": {\r\n \"operationId\": \"agreements_enduser_list\",\r\n \"description\": \"API endpoints related to end-user agreements.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"query\",\r\n \"name\": \"enduser_id\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"description\": \"Your enduser ID, used for filtering results.\",\r\n \"required\": true\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"required\": false,\r\n \"in\": \"query\",\r\n \"description\": \"Number of results to return per page.\",\r\n \"schema\": {\r\n \"type\": \"integer\"\r\n }\r\n },\r\n {\r\n \"name\": \"offset\",\r\n \"required\": false,\r\n \"in\": \"query\",\r\n \"description\": \"The initial index from which to return the results.\",\r\n \"schema\": {\r\n \"type\": \"integer\"\r\n }\r\n }\r\n ],\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/PaginatedEndUserAgreementList\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"operationId\": \"agreements_enduser_create\",\r\n \"description\": \"API endpoints related to end-user agreements.\",\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n },\r\n \"application/x-www-form-urlencoded\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n },\r\n \"multipart/form-data\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n },\r\n \"required\": true\r\n },\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"201\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/enduser/{id}/\": {\r\n \"get\": {\r\n \"operationId\": \"agreements_enduser_retrieve\",\r\n \"description\": \"API endpoints related to end-user agreements.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this end user agreement.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/enduser/{id}/accept/\": {\r\n \"put\": {\r\n \"operationId\": \"agreements_enduser_accept_update\",\r\n \"description\": \"Accept an end-user agreement via the API.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this end user agreement.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EnduserAcceptanceDetails\"\r\n }\r\n },\r\n \"application/x-www-form-urlencoded\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EnduserAcceptanceDetails\"\r\n }\r\n },\r\n \"multipart/form-data\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EnduserAcceptanceDetails\"\r\n }\r\n }\r\n },\r\n \"required\": true\r\n },\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/enduser/{id}/text/\": {\r\n \"get\": {\r\n \"operationId\": \"agreements_enduser_text_retrieve\",\r\n \"description\": \"Show the text of the end-user agreement.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this end user agreement.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/legal/{id}/\": {\r\n \"get\": {\r\n \"operationId\": \"agreements_legal_retrieve\",\r\n \"description\": \"API endpoints related to agreements.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this agreement version.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Agreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/agreements/legal/latest/\": {\r\n \"get\": {\r\n \"operationId\": \"agreements_legal_latest_retrieve\",\r\n \"description\": \"Get the latest agreement.\",\r\n \"tags\": [\r\n \"agreements\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Agreement\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/aspsps/\": {\r\n \"get\": {\r\n \"operationId\": \"aspsps_list\",\r\n \"description\": \"List all ASPSPs available.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"query\",\r\n \"name\": \"country\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"description\": \"ISO 3166 two-character country code\",\r\n \"required\": true,\r\n \"examples\": {\r\n \"Germany\": {\r\n \"value\": \"DE\",\r\n \"summary\": \"Germany\",\r\n \"description\": \"ISO 3166 two-character code for Germany\"\r\n },\r\n \"UnitedKingdom\": {\r\n \"value\": \"GB\",\r\n \"summary\": \"United Kingdom\",\r\n \"description\": \"ISO 3166 two-character code for the UK\"\r\n }\r\n }\r\n }\r\n ],\r\n \"tags\": [\r\n \"aspsps\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Aspsp\"\r\n }\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/aspsps/{id}/\": {\r\n \"get\": {\r\n \"operationId\": \"aspsps_retrieve\",\r\n \"description\": \"Give details about a specific ASPSP.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"required\": true,\r\n \"examples\": {\r\n \"Revolut\": {\r\n \"value\": \"REVOLUT_REVOGB21\",\r\n \"summary\": \"Revolut\",\r\n \"description\": \"Nordigen's ASPSP ID for Revolut\"\r\n }\r\n }\r\n }\r\n ],\r\n \"tags\": [\r\n \"aspsps\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Aspsp\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/requisitions/\": {\r\n \"get\": {\r\n \"operationId\": \"requisitions_list\",\r\n \"description\": \"API endpoints related to requisitions.\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"required\": false,\r\n \"in\": \"query\",\r\n \"description\": \"Number of results to return per page.\",\r\n \"schema\": {\r\n \"type\": \"integer\"\r\n }\r\n },\r\n {\r\n \"name\": \"offset\",\r\n \"required\": false,\r\n \"in\": \"query\",\r\n \"description\": \"The initial index from which to return the results.\",\r\n \"schema\": {\r\n \"type\": \"integer\"\r\n }\r\n }\r\n ],\r\n \"tags\": [\r\n \"requisitions\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/PaginatedRequisitionList\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"operationId\": \"requisitions_create\",\r\n \"description\": \"API endpoints related to requisitions.\",\r\n \"tags\": [\r\n \"requisitions\"\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n },\r\n \"application/x-www-form-urlencoded\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n },\r\n \"multipart/form-data\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n }\r\n },\r\n \"required\": true\r\n },\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"201\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/requisitions/{id}/\": {\r\n \"get\": {\r\n \"operationId\": \"requisitions_retrieve\",\r\n \"description\": \"API endpoints related to requisitions.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this requisition.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"requisitions\"\r\n ],\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/requisitions/{id}/links/\": {\r\n \"post\": {\r\n \"operationId\": \"requisitions_links_create\",\r\n \"description\": \"Get links for user redirection.\",\r\n \"parameters\": [\r\n {\r\n \"in\": \"path\",\r\n \"name\": \"id\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"description\": \"A UUID string identifying this requisition.\",\r\n \"required\": true\r\n }\r\n ],\r\n \"tags\": [\r\n \"requisitions\"\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RequisitionLinkParams\"\r\n }\r\n },\r\n \"application/x-www-form-urlencoded\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RequisitionLinkParams\"\r\n }\r\n },\r\n \"multipart/form-data\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RequisitionLinkParams\"\r\n }\r\n }\r\n },\r\n \"required\": true\r\n },\r\n \"security\": [\r\n {\r\n \"tokenAuth\": []\r\n },\r\n {\r\n \"cookieAuth\": []\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RequisitionLinks\"\r\n }\r\n }\r\n },\r\n \"description\": \"\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"components\": {\r\n \"schemas\": {\r\n \"Account\": {\r\n \"type\": \"object\",\r\n \"description\": \"The representation of a bank account.\",\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"readOnly\": true,\r\n \"description\": \"The ID of this Account, used to refer to this end user agreement in other API calls.\",\r\n \"title\": \"Account ID\"\r\n },\r\n \"created\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"readOnly\": true,\r\n \"title\": \"Created date/time\",\r\n \"description\": \"The date & time at which the account object was created.\"\r\n },\r\n \"last_accessed\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true,\r\n \"readOnly\": true,\r\n \"title\": \"Last accessed date/time\",\r\n \"description\": \"The date & time at which the account object was last accessed.\"\r\n },\r\n \"iban\": {\r\n \"type\": \"string\",\r\n \"readOnly\": true,\r\n \"description\": \"The Account IBAN\"\r\n },\r\n \"aspsp_identifier\": {\r\n \"type\": \"string\",\r\n \"readOnly\": true,\r\n \"title\": \"ASPSP ID\",\r\n \"description\": \"The ASPSP associated with this account.\"\r\n },\r\n \"status\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/AccountStatusEnum\"\r\n }\r\n ],\r\n \"readOnly\": true,\r\n \"title\": \"Account Status\",\r\n \"description\": \"The processing status of this account.\"\r\n }\r\n },\r\n \"required\": [\r\n \"aspsp_identifier\",\r\n \"created\",\r\n \"iban\",\r\n \"id\",\r\n \"last_accessed\",\r\n \"status\"\r\n ]\r\n },\r\n \"AccountStatusEnum\": {\r\n \"enum\": [\r\n \"DISCOVERED\",\r\n \"PROCESSING\",\r\n \"READY\",\r\n \"ERROR\"\r\n ],\r\n \"type\": \"string\"\r\n },\r\n \"Agreement\": {\r\n \"type\": \"object\",\r\n \"description\": \"An agreement object.\",\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"readOnly\": true\r\n },\r\n \"created\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"readOnly\": true\r\n }\r\n },\r\n \"required\": [\r\n \"created\",\r\n \"id\"\r\n ]\r\n },\r\n \"Aspsp\": {\r\n \"type\": \"object\",\r\n \"description\": \"Represents an ASPSP.\",\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\"\r\n },\r\n \"bic\": {\r\n \"type\": \"string\"\r\n },\r\n \"transaction_total_days\": {\r\n \"type\": \"string\",\r\n \"default\": \"90\"\r\n },\r\n \"countries\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n },\r\n \"required\": [\r\n \"countries\",\r\n \"id\",\r\n \"name\"\r\n ]\r\n },\r\n \"EndUserAgreement\": {\r\n \"type\": \"object\",\r\n \"description\": \"Represents an end-user agreement.\",\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"readOnly\": true,\r\n \"title\": \"End User Agreement ID\",\r\n \"description\": \"The ID of this End User Agreement, used to refer to this end user agreement in other API calls.\"\r\n },\r\n \"created\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"readOnly\": true,\r\n \"title\": \"Created Date\",\r\n \"description\": \"The date & time at which the end user agreement was created.\"\r\n },\r\n \"agreement_version\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"description\": \"The specific agreement conditions to which the end user has/will agree to.\"\r\n },\r\n \"max_historical_days\": {\r\n \"type\": \"integer\",\r\n \"maximum\": 2147483647,\r\n \"minimum\": -2147483648,\r\n \"default\": 90,\r\n \"title\": \"Maximum Historical Days\",\r\n \"description\": \"Maximum number of days of transaction data to retrieve.\"\r\n },\r\n \"access_valid_for_days\": {\r\n \"type\": \"integer\",\r\n \"maximum\": 2147483647,\r\n \"minimum\": -2147483648,\r\n \"readOnly\": true,\r\n \"default\": 90,\r\n \"title\": \"Access Valid For (Days)\",\r\n \"description\": \"Number of days from acceptance that the access can be used.\"\r\n },\r\n \"accepted\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true,\r\n \"readOnly\": true,\r\n \"title\": \"Accepted Date\",\r\n \"description\": \"The date & time at which the end user accepted the agreement.\"\r\n },\r\n \"enduser_id\": {\r\n \"type\": \"string\",\r\n \"nullable\": true,\r\n \"title\": \"End User ID\",\r\n \"description\": \"A unique ID that identifies this user in your own system. For data protection purposes, it must be possible to identify your users using this value. Data protection related requests may quote this value to identify data subjects.\"\r\n },\r\n \"aspsp_id\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"required\": [\r\n \"accepted\",\r\n \"access_valid_for_days\",\r\n \"aspsp_id\",\r\n \"created\",\r\n \"enduser_id\",\r\n \"id\"\r\n ]\r\n },\r\n \"EnduserAcceptanceDetails\": {\r\n \"type\": \"object\",\r\n \"description\": \"Represents end-user details.\",\r\n \"properties\": {\r\n \"user_agent\": {\r\n \"type\": \"string\"\r\n },\r\n \"ip_address\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"required\": [\r\n \"ip_address\",\r\n \"user_agent\"\r\n ]\r\n },\r\n \"PaginatedEndUserAgreementList\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"count\": {\r\n \"type\": \"integer\",\r\n \"example\": 123\r\n },\r\n \"next\": {\r\n \"type\": \"string\",\r\n \"nullable\": true,\r\n \"format\": \"uri\",\r\n \"example\": \"http://api.example.org/accounts/?offset=400&limit=100\"\r\n },\r\n \"previous\": {\r\n \"type\": \"string\",\r\n \"nullable\": true,\r\n \"format\": \"uri\",\r\n \"example\": \"http://api.example.org/accounts/?offset=200&limit=100\"\r\n },\r\n \"results\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/EndUserAgreement\"\r\n }\r\n }\r\n }\r\n },\r\n \"PaginatedRequisitionList\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"count\": {\r\n \"type\": \"integer\",\r\n \"example\": 123\r\n },\r\n \"next\": {\r\n \"type\": \"string\",\r\n \"nullable\": true,\r\n \"format\": \"uri\",\r\n \"example\": \"http://api.example.org/accounts/?offset=400&limit=100\"\r\n },\r\n \"previous\": {\r\n \"type\": \"string\",\r\n \"nullable\": true,\r\n \"format\": \"uri\",\r\n \"example\": \"http://api.example.org/accounts/?offset=200&limit=100\"\r\n },\r\n \"results\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Requisition\"\r\n }\r\n }\r\n }\r\n },\r\n \"Requisition\": {\r\n \"type\": \"object\",\r\n \"description\": \"RequisitionSerializer.\",\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\",\r\n \"readOnly\": true\r\n },\r\n \"redirect\": {\r\n \"type\": \"string\",\r\n \"format\": \"uri\",\r\n \"nullable\": true\r\n },\r\n \"status\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/RequisitionStatusEnum\"\r\n }\r\n ],\r\n \"readOnly\": true\r\n },\r\n \"agreements\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n },\r\n \"accounts\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"readOnly\": true\r\n },\r\n \"reference\": {\r\n \"type\": \"string\"\r\n },\r\n \"enduser_id\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"required\": [\r\n \"accounts\",\r\n \"enduser_id\",\r\n \"id\",\r\n \"redirect\",\r\n \"reference\",\r\n \"status\"\r\n ]\r\n },\r\n \"RequisitionLinkParams\": {\r\n \"type\": \"object\",\r\n \"description\": \"RequisitionLinkParamsSerializer.\",\r\n \"properties\": {\r\n \"aspsp_id\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"required\": [\r\n \"aspsp_id\"\r\n ]\r\n },\r\n \"RequisitionLinks\": {\r\n \"type\": \"object\",\r\n \"description\": \"RequisitionLinksSerializer.\",\r\n \"properties\": {\r\n \"initiate\": {\r\n \"type\": \"string\",\r\n \"format\": \"uri\",\r\n \"readOnly\": true\r\n }\r\n },\r\n \"required\": [\r\n \"initiate\"\r\n ]\r\n },\r\n \"RequisitionStatusEnum\": {\r\n \"enum\": [\r\n \"CR\",\r\n \"ID\",\r\n \"LN\",\r\n \"RJ\",\r\n \"ER\"\r\n ],\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"securitySchemes\": {\r\n \"basicAuth\": {\r\n \"type\": \"http\",\r\n \"scheme\": \"basic\"\r\n },\r\n \"cookieAuth\": {\r\n \"type\": \"apiKey\",\r\n \"in\": \"cookie\",\r\n \"name\": \"Session\"\r\n },\r\n \"tokenAuth\": {\r\n \"type\": \"apiKey\",\r\n \"in\": \"header\",\r\n \"name\": \"Authorization\",\r\n \"description\": \"Token-based authentication with required prefix \\\"Token\\\"\"\r\n }\r\n }\r\n }\r\n}",
"url": "https://ob.nordigen.com/api/swagger.json",
"output": null,
"newLineBehavior": "Auto"
}
},
"codeGenerators": {
"openApiToCSharpClient": {
"clientBaseClass": null,
"configurationClass": null,
"generateClientClasses": true,
"generateClientInterfaces": false,
"clientBaseInterface": null,
"injectHttpClient": true,
"disposeHttpClient": true,
"protectedMethods": [],
"generateExceptionClasses": true,
"exceptionClass": "ApiException",
"wrapDtoExceptions": true,
"useHttpClientCreationMethod": false,
"httpClientType": "System.Net.Http.HttpClient",
"useHttpRequestMessageCreationMethod": false,
"useBaseUrl": true,
"generateBaseUrlProperty": true,
"generateSyncMethods": false,
"generatePrepareRequestAndProcessResponseAsAsyncMethods": false,
"exposeJsonSerializerSettings": false,
"clientClassAccessModifier": "public",
"typeAccessModifier": "public",
"generateContractsOutput": false,
"contractsNamespace": null,
"contractsOutputFilePath": null,
"parameterDateTimeFormat": "s",
"parameterDateFormat": "yyyy-MM-dd",
"generateUpdateJsonSerializerSettingsMethod": true,
"useRequestAndResponseSerializationSettings": false,
"serializeTypeInformation": false,
"queryNullValue": "",
"className": "{controller}Client",
"operationGenerationMode": "MultipleClientsFromOperationId",
"additionalNamespaceUsages": [],
"additionalContractNamespaceUsages": [],
"generateOptionalParameters": false,
"generateJsonMethods": false,
"enforceFlagEnums": false,
"parameterArrayType": "System.Collections.Generic.IEnumerable",
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
"responseArrayType": "System.Collections.Generic.ICollection",
"responseDictionaryType": "System.Collections.Generic.IDictionary",
"wrapResponses": false,
"wrapResponseMethods": [],
"generateResponseClasses": true,
"responseClass": "SwaggerResponse",
"namespace": "NordigenPSD2",
"requiredPropertiesMustBeDefined": true,
"dateType": "System.DateTimeOffset",
"jsonConverters": null,
"anyType": "object",
"dateTimeType": "System.DateTimeOffset",
"timeType": "System.TimeSpan",
"timeSpanType": "System.TimeSpan",
"arrayType": "System.Collections.Generic.ICollection",
"arrayInstanceType": "System.Collections.ObjectModel.Collection",
"dictionaryType": "System.Collections.Generic.IDictionary",
"dictionaryInstanceType": "System.Collections.Generic.Dictionary",
"arrayBaseType": "System.Collections.ObjectModel.Collection",
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
"classStyle": "Poco",
"jsonLibrary": "NewtonsoftJson",
"generateDefaultValues": true,
"generateDataAnnotations": true,
"excludedTypeNames": [],
"excludedParameterNames": [],
"handleReferences": false,
"generateImmutableArrayProperties": false,
"generateImmutableDictionaryProperties": false,
"jsonSerializerSettingsTransformationMethod": null,
"inlineNamedArrays": false,
"inlineNamedDictionaries": false,
"inlineNamedTuples": true,
"inlineNamedAny": false,
"generateDtoTypes": true,
"generateOptionalPropertiesAsNullable": false,
"generateNullableReferenceTypes": false,
"templateDirectory": null,
"typeNameGeneratorType": null,
"propertyNameGeneratorType": null,
"enumNameGeneratorType": null,
"serviceHost": null,
"serviceSchemes": null,
"output": null,
"newLineBehavior": "Auto"
}
}
}