Getting Failure when trying to convert .json file to .kite
santikris2003 opened this issue · comments
Getting Failure when trying to convert .json file to .kite
root@metasplotable3:# ./kr kb convert my.json my.kite#
▄▄▄▄ ██
▄▄▀▀▀▀▄▄ █▀▄█▄█ █▄▄▄ ▒
▄▄ █▄█ ▀▀▄▄▄ ▀▀▀▄▄██▀▀▀▀▀ ▄█▄█▄▄█▄ ▄▄▄ ▒█▒
██▄▄▀▀██ ███ ▄▄▄▄▄▄▄▄▄▄▄▄█▄ █████▀▀▀▄█ ▄▄▄▓█ ▄▄ ▄█▄▀▓▄█▄ ▒ ▄▄
▀█▀▄▌▐█▌█ █▓█ ██▀▀▀▀██▀██▓█ ██▄▀▀▐▓ ▄█▓▌ ▀▀█▓█ █▓█ ▄ ▀ █▄▀▀▀▄ ▄▄ ▄▄▄▄▄█▄
▐██▌▐██▀ ▀▀▀ █▓█ █▄▓▀ █▀▀▄▄▄▄▄▄ ▐▓▄█▓▄▄█▄ ███▄▄▀ ██▄█ ▄▄▀ ▄▀ ▀ ▀███▀▀▄█▄
▐▀███▄▄▄▄█▄▀▄▀▀ ███▄▄ ▄█▄▀▀▀▀▓███▄▀█▀▀▓█ ▀█▀▀█ █▓ ▀▄█▓█ ▄▓█ ██▀▀▀ ▄ ▐▓█ ▀█▀▀
▐█▓▄█▀▀▀▀▀██ ▀▄ ▐▓▀▀ █▄▀▀▀▄▄▀▀████▀ █▓▌ ▐▀ ██▀ ▄ ▀▓█ █▓▄ ▄▄▀ ▐▓▌
▐███▄ ▐▄██ ▄█ ▄█▌ █▀▄▄▄ ▀▀ ▐██ ▐▀▄ ▄█▓█ ▄▄█▄ ██ ▀▄▄▄▀▄ ▀▀▄▄▀▀ ▄▄▀
▐▀▓█ █▓██▄▄▄███▄█ ▀█▀▄█ ▄█▄▄▓█ ▀▀▀▀▄█▄▄▄▄▄▀▄▄ ▀ █▓█▀▄█▌ ▄▀▄██
█▀█ ██▀▀▀▀▀▀▀▀▀▓█ ██ ▀▀▀ ███▀▓█ ▄▀█▀▀▀▀▀▀ ▀▀ ▐▓█ ▀▌ ▄▀▄▄▀█
▀▀ ███ █▀▀▄▄█ ▀▓▀ ▐▀▀ ▀▀▄█▀
▒ ▀█▄▄██ ▀▀
▒█▒ ▀▄█▀
▒ ▀
9:14AM INF converting input=my.json input-type=JSON output=my.kite output-type=KITE
9:14AM FTL failed to convert files error="conversion error: parsing kitebuilder json input error: failed to unmarshal json: json: cannot unmarshal object into Go value of type []kitebuilder.API"
root@metasplotable3:
Hi,
Have you considered downloading our pre-compiled kite files from https://wordlists.assetnote.io (Kiterunner Wordlists)
my.json is json file with my endpoints which I tried to convert to .kite
Any update on this guys? I'm having the same issue. I have a schema file in *.json and I can't seem to convert it to *.kite file.
11:30AM INF converting input=schema.json input-type=JSON output=schema.kite output-type=KITE
11:30AM FTL failed to convert files error="conversion error: parsing kitebuilder json input error: failed to unmarshal json: json: cannot unmarshal object into Go value of type []kitebuilder.API"