swagger-api / swagger-inflector

Apache License 2.0
158 stars 85 forks source link

Guard against NPE in the ExtensionsUtil class #433

Closed xtina closed 1 year ago

xtina commented 1 year ago

Sometimes during resolvePath(), the schemas do not already have extensions associated with them. This is to prevent an NPE from being thrown when looking for them.