Skip to content

Commit

Permalink
Feature/convert yaml to json (#30)
Browse files Browse the repository at this point in the history
* converted yaml to json swagger 2.0

* converted swagger 2.0 to 3.1 for PIS,CBPII,AIS,Event and polling

* convert swagger 3.0 to json

* flattened specs
  • Loading branch information
glynjackson authored Jul 23, 2020
1 parent 27a15a0 commit 8cd98a0
Show file tree
Hide file tree
Showing 40 changed files with 211,218 additions and 89,624 deletions.
107,445 changes: 83,905 additions & 23,540 deletions dist/openapi-flattened/account-info-openapi-flattened.json

Large diffs are not rendered by default.

765 changes: 566 additions & 199 deletions dist/openapi-flattened/aggregated-polling-openapi-flattened.json

Large diffs are not rendered by default.

1,878 changes: 1,362 additions & 516 deletions dist/openapi-flattened/callback-urls-openapi-flattened.json

Large diffs are not rendered by default.

1,493 changes: 728 additions & 765 deletions dist/openapi-flattened/confirmation-funds-openapi-flattened.json

Large diffs are not rendered by default.

36 changes: 21 additions & 15 deletions dist/openapi-flattened/event-notifications-openapi-flattened.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.1",
"info": {
"title": "Event Notification API Specification - TPP Endpoints",
"description": "OpenAPI for Event Notification API Specification - TPP Endpoints",
"description": "Swagger for Event Notification API Specification - TPP Endpoints",
"termsOfService": "https://www.openbanking.org.uk/terms",
"contact": {
"name": "Service Desk",
Expand All @@ -12,53 +12,59 @@
"name": "open-licence",
"url": "https://www.openbanking.org.uk/open-licence"
},
"version": "v3.1.5"
"version": "v3.1.6"
},
"servers": [
{
"url": "/open-banking/v3.1"
}
],
"paths": {
"/event-notifications": {
"post": {
"summary": "Send an event notification",
"operationId": "CreateEventNotification",
"tags": [
"Event Notification"
],
"summary": "Send an event notification",
"operationId": "CreateEventNotification",
"parameters": [
{
"in": "header",
"name": "x-fapi-financial-id",
"required": true,
"in": "header",
"description": "The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "header",
"name": "x-fapi-interaction-id",
"required": false,
"in": "header",
"description": "An RFC4122 UID used as a correlation id.",
"schema": {
"type": "string"
}
}
],
"responses": {
"202": {
"description": "Accepted"
}
},
"requestBody": {
"description": "Create an Callback URI",
"content": {
"application/json": {
"application/jwt": {
"schema": {
"type": "string",
"format": "base64"
}
}
},
"required": true
}
},
"responses": {
"202": {
"description": "Accepted",
"content": {}
}
},
"x-codegen-request-body-name": "OBEventNotification1Param"
}
}
},
Expand Down
Loading

0 comments on commit 8cd98a0

Please sign in to comment.