stripe / openapi

An OpenAPI specification for the Stripe API.
MIT License
394 stars 123 forks source link

How can I use the spec2.json with oasgraph? #45

Closed haalcala closed 5 years ago

haalcala commented 5 years ago

I keep getting:

OASGraph creation event error: Invalid schema for bearerAuth provided of type "undefined".

So, where should I put the api_key?

brandur-stripe commented 5 years ago

We can't lend support for specific tools, but you can read how to authenticate against Stripe in our API documentation. The easiest way is to use Bearer in an Authorization header like: -H "Authorization: Bearer sk_test_123".