Fix bug in swagger generation

This also triggered the need for a 0.1.1 release.