Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid IndexError when definition titles have less than 3 components #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

larsks
Copy link

@larsks larsks commented Nov 5, 2021

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

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 instrumenta#57
@larsks
Copy link
Author

larsks commented Mar 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexError when definition titles have less than 3 components
1 participant