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

invalid swagger spec #279

Open
drev74 opened this issue Feb 12, 2023 · 0 comments
Open

invalid swagger spec #279

drev74 opened this issue Feb 12, 2023 · 0 comments

Comments

@drev74
Copy link

drev74 commented Feb 12, 2023

Hi there! Running on-premise TC 2022.10.2

I've got a swagger spec with curl <myserver>/app/rest/swagger.json > tc.json and wanna generate a go client. I tried several generators and all are failing.

official: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
They say its because of possible loops inside the spec. Check here

go-swagger: tc.json is invalid against swagger specification 2.0. see errors: definitions in body must be of type array

Tried two more. All are failing.

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

1 participant