ardohr-ltd / starling-payments-objects

Starling Bank Payments Service data objects
4 stars 1 forks source link

Auto-generate the API client code from OpenAPI details #13

Open judgej opened 4 years ago

judgej commented 4 years ago

There is an Open API description hidden behind the Starling Payments API documentation. It would be really great if that were officially published, then we could keep track of updates and build code from it automatically.

I have extracted that OpenAPI description here (some time ago): https://github.com/academe/starling-payments-api-sdk/tree/master/openapi

I have built API code from that description here: https://github.com/academe/starling-payments-api-sdk/tree/master/api/src That is all 100% generated code. That's what we want to see more of. That's what we should be using.

judgej commented 3 years ago

Note: the OpenAPI details are less hidden now, and available here:

https://payment-api-sandbox.starlingbank.com/api/openapi.json

judgej commented 3 years ago

v3.0.1 of the OpenAPI description:

starling-openapi-3.0.1.json.zip