Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
judgej opened this issue Feb 28, 2020 · 2 comments
Open

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

judgej opened this issue Feb 28, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@judgej
Copy link
Contributor

judgej commented Feb 28, 2020

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 judgej added the enhancement New feature or request label Feb 28, 2020
@judgej judgej changed the title Auto-generate the API code Auto-generate the API client code Feb 28, 2020
@judgej judgej changed the title Auto-generate the API client code Auto-generate the API client code from OpenAPI details Dec 21, 2020
@judgej
Copy link
Contributor Author

judgej commented Dec 21, 2020

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

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

@judgej
Copy link
Contributor Author

judgej commented Dec 21, 2020

v3.0.1 of the OpenAPI description:

starling-openapi-3.0.1.json.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant