openapi2jsonschema
openapi2jsonschema copied to clipboard
Avoid IndexError when definition titles have less than 3 components
This will cause openapi2jsonschema to skip definitions that have fewer than 3 components in the name (like v1.APIGroup`), rather than
crashing with an IndexError.
Closes #57
I'm collecting fixes in https://github.com/larsks/openapi2jsonschema. I've merged this patch into that repository.