academe / SagePay-Integration

HTTP Messages for the Sage Pay REST (Pi) gateway.
GNU General Public License v3.0
9 stars 5 forks source link

Code generation from OpenAPI description #62

Open judgej opened 5 years ago

judgej commented 5 years ago

This will probably be a separate package. The OpenAPI description for the Pi API can be found here:

https://developer.sage.com/api/payments/api/

It will likely not be up-to-date, may not be complete, won't be available in a git repository or anywhere that PRs can be provides or issues raised, but it's a start.

The OpenAPI description is actually spread over at least 13 files (actually more, they are nested), which is a great design choice, but without those files being available in a repository, they are a right royal pain to find and download.

judgej commented 5 years ago

First draft trying to collect the OpenAPI description files together here:

https://github.com/academe/sage-pay-pi-open-api