openapi icon indicating copy to clipboard operation
openapi copied to clipboard

TypeError: unhashable type: 'dict'

Open tnozicka opened this issue 1 year ago • 0 comments

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

tnozicka avatar Nov 03 '23 16:11 tnozicka