sphinx-contrib / openapi

OpenAPI (fka Swagger) spec renderer for Sphinx.
https://sphinxcontrib-openapi.readthedocs.io
BSD 2-Clause "Simplified" License
111 stars 81 forks source link

fix: changed dictionary field access into get invocation #131

Closed cionz0 closed 1 year ago

cionz0 commented 2 years ago

get() possibly null header 'description' item instead of accessing it by key and rasing KeyError

issue: https://github.com/sphinx-contrib/openapi/issues/130#issue-1402211100

stephenfin commented 1 year ago

120 does the same thing but is more thorough. Let's go with that.