You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Could not convert Swagger 'json-serverless-lib' to OpenAPI Specification. YAML anchor or merge key at #/paths/~1api~1posts/post/responses/201/schema".] {
This is definitely related to our Swagger/OpenAPI validator/convertor, swagger2openapi. I just tried their online tool with your sample Swagger and I got the following validation error:
Describe the bug
When I use the library with following code
I do get an error
This works fine in swagger.io editor (no error)
https://editor.swagger.io/
To Reproduce
this is the sample swagger spec.
Steps to reproduce the behavior:
Expected behavior
I get a graphql schema
The text was updated successfully, but these errors were encountered: