Closed dneuhaeuser-zalando closed 5 years ago
Looking at the code I think what's happening is you're not being able to load the content from: https://raw.githubusercontent.com/kubernetes/kubernetes/v1.12.2/api/openapi-spec/swagger.json
If that's a YAML document and it doesn't contain either the swagger
or openapi
key then this failure happens. It should provide a better error ideally.
This appears to be environmental, as I was just able to run this OK here.
Hm, I tried it myself again just now and it does indeed work just fine.
When extracting the JSON schema from the Kubernetes 1.12.2 spec I get an UnboundLocalError exception: