I ran a test against the Kubernetes swagger.json to test for regressions and there aren't any at least when looking at diff (so the same code is generated before and after this change). However it's possible that there's indeed a regression and I'm not seeing it.
This doesn't completely fix #11 because it depends on #14, and also there's an issue with the snake_case when info.title contains spaces. I'll open a separate PR for that one 😄
Second attempt after #12.
I ran a test against the Kubernetes swagger.json to test for regressions and there aren't any at least when looking at
diff
(so the same code is generated before and after this change). However it's possible that there's indeed a regression and I'm not seeing it.This doesn't completely fix #11 because it depends on #14, and also there's an issue with the
snake_case
wheninfo.title
contains spaces. I'll open a separate PR for that one 😄