openapi
openapi copied to clipboard
TypeError: unhashable type: 'dict'
I've tried to use the sphinxcontrib.openapi on an openapi v2 received from kubernetes apiserver (kubectl get --raw /openapi/v2 | yq -Poy) apiserver but it failed with
Sphinx parallel build error:
TypeError: unhashable type: 'dict'
unfortunately, there is no context in the error message to help assess which part of the file breaks it.
The corresponding rst file looks like
API Reference
=============
.. openapi:: kube.yaml
and the kube.yaml is attached within kube.zip