Neoteroi / essentials-openapi

Functions to handle OpenAPI Documentation.
MIT License
21 stars 9 forks source link

KeyError when $ref contains invalid characters #22

Closed RobertoPrevato closed 1 year ago

RobertoPrevato commented 1 year ago

When $ref contains invalid characters - including spaces - the code fails with a KeyError. Improve the code to not raise an exception and handle such references.