stripe / openapi

An OpenAPI specification for the Stripe API.
MIT License
371 stars 119 forks source link

Update to Documentation #153

Open OurBigAdventure opened 2 months ago

OurBigAdventure commented 2 months ago

Thank you guys for doing the work to put all of this together.

I'm having trouble with the openapi-generator for this project and thought it would be nice if you guys could put a sample of how to generate code for this spec. I "think" I am aiming at the correct .yaml files, but I could be wrong because I'm getting a large number of errors from the generator such as:

I don't know, could be me, but a simple generator example showing the input file to use and any options needed (for any language) would be helpful.

helenye-stripe commented 2 months ago

Hi @OurBigAdventure! We use a custom closed-source OpenAPI generator unfortunately. If you would like a reference for other examples of use of our specs, there are several other projects that do so, such as async-stripe which does so in Rust.