-
Notifications
You must be signed in to change notification settings - Fork 211
Impossible to translate Stripe open api in graphql #284
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
Comments
@renanbronchart Thanks for filling this issue! Your diagnosis is correct. We have issues dealing with a most of the JSON schema combining keywords, specifically There have actually already been a few issues filed in regards to this issue #197 and #248. I am currently working on a fix but making very slow progress. |
Thank you very much for your reply. |
Actually, in PR #287, I already have |
We are finally able to handle the Stripe API! Update to v2.0.0 and take a look at this post! |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I try to translate stripe openapi format in graphql schema with your package
openapi-to-graphql
.It seems to don't work because the package cannot identify type of schema.
It seems to come with "anyOf" and "oneOf" words.
To Reproduce
openapi-to-graphql https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json --save schema.graphql
I try to test with stripe openAPI spec 2.0, but there is an other problem:
To Reproduce
openapi-to-graphql https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec2.json --save schema.graphql
Output
OpenAPI-to-GraphQL creation event error: Cannot process schema '{}'. Cannot identify type of schema.
The text was updated successfully, but these errors were encountered: