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

Schema not recognised by cherry bomb #125

Open
kraktus opened this issue Apr 13, 2023 · 5 comments
Open

Schema not recognised by cherry bomb #125

kraktus opened this issue Apr 13, 2023 · 5 comments

Comments

@kraktus
Copy link

kraktus commented Apr 13, 2023

Hello,

Thank you for your project, however I am unable to run it on the Lichess spec due to the following error:

$ cherrybomb --file ../berserk/lichess-spec-fixed.json --profile passive 

╭━━━┳╮╱╱╱╱╱╱╱╱╱╱╱╱╭╮╱╱╱╱╱╱╱╭╮
┃╭━╮┃┃╱╱╱╱╱╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╱┃┃
┃┃╱╰┫╰━┳━━┳━┳━┳╮╱╭┫╰━┳━━┳╮╭┫╰━╮
┃┃╱╭┫╭╮┃┃━┫╭┫╭┫┃╱┃┃╭╮┃╭╮┃╰╯┃╭╮┃
┃╰━╯┃┃┃┃┃━┫┃┃┃┃╰━╯┃╰╯┃╰╯┃┃┃┃╰╯┃
╰━━━┻╯╰┻━━┻╯╰╯╰━╮╭┻━━┻━━┻┻┻┻━━╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯       v1.0.0

Starting Cherrybomb...
Opening OAS file...
Parsing OAS file...
Error: Error creating OAS struct: data did not match any variant of untagged enum SchemaRef

I believe it's the same as #100.

You can find the spec online at: https://lichess.org/api.

@OmerWow
Copy link
Contributor

OmerWow commented Apr 16, 2023

Hey @kraktus
We're checking what the issue is and we'll update you soon.

Thanks for reaching out :)

@karolpawlowski
Copy link

Hey @OmerWow! What is the progress of this issue? I'm trying your tool with openapi.json generated by FastAPI but have the same error as @kraktus

@GuyL99
Copy link
Contributor

GuyL99 commented Jun 26, 2023

Hi @karolpawlowski, we are still checking it out, we'll should get back to you pretty soon, sorry for the delay

@eamon0989
Copy link

Hi, I am also running into the same error:

Starting Cherrybomb...
Opening OAS file...
Parsing OAS file...
Error: Error creating OAS struct: data did not match any variant of untagged enum SchemaRef

I'm using an openapi.json file generated by swagger.

@security101
Copy link

Hi, I am also running into the same error:

Starting Cherrybomb...
Opening OAS file...
Parsing OAS file...
Error: Error creating OAS struct: data did not match any variant of untagged enum SecSchemeRef

Cherrybomb v1.0.0 within the ECR provided container

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

No branches or pull requests

6 participants