You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When allOf refers to schema that is not an object but a string, sphinx-build fails when generating examples with a following error
File "/home/stativ/development/workdir/astra-open-api/.venv/lib/python3.13/site-packages/sphinxcontrib/openapi/schema_utils.py", line 67, in example_from_schema
example.update(example_from_schema(sub_schema))
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: dictionary update sequence element #0 has length 1; 2 is required
…e is a plain string.
When an example from a subschema of allOf does not return a dictionary,
return the subschema example directly rather than trying to merge with
the example dictionary.
Fixessphinx-contrib#166.
When
allOf
refers to schema that is not an object but a string, sphinx-build fails when generating examples with a following errorMinimal Example
test.yaml
index.rst
SW Versions
The text was updated successfully, but these errors were encountered: