openapi2jsonschema icon indicating copy to clipboard operation
openapi2jsonschema copied to clipboard

Avoid IndexError when definition titles have less than 3 components

Open larsks opened this issue 4 years ago • 1 comments

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

larsks avatar Nov 05 '21 19:11 larsks

I'm collecting fixes in https://github.com/larsks/openapi2jsonschema. I've merged this patch into that repository.

larsks avatar Mar 30 '23 22:03 larsks