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

The generate yaml file is gives Error: unexpected end of JSON input #14

Open
notDefinite007 opened this issue Dec 13, 2022 · 2 comments

Comments

@notDefinite007
Copy link

Here are the commands which I used to generate testcases

./mqgo_linux_amd64 generate -d ./meqa_data -s index_build2.json
./mqgo_linux_amd64 generate -d ./meqa_data -s index_build2.yaml
./mqgo_linux_amd64 generate -d ./meqa_data -s index_build2.yml

still get the same error as

got an err:
unexpected end of JSON input
@AgniaEndie
Copy link

Have you solved this problem?

@notDefinite007
Copy link
Author

Yes thats by editing a golang file changing the code from panic to new error...
It suppresses the error and generates all the files but that is of no use for me as I want files in openAPI spec 3.0.
But this package generates for OpenAPI 2.0

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

2 participants