Pointer to array/slice of primitive registers incorrect definition
jerrymccollom opened this issue · comments
Jerry McCollom commented
Greetings, Ernest!
I found that if I have a pointer to a slice of strings in a struct, the swagger generates schema references to "#/definitions/string". I tracked it down to a single line in definition_builder.go. I've submitted PR #46 with the change to fix this.
Generating this reference makes the current rev of ReDoc choke (which is how I discovered the problem).
Thanks for considering the PR!
Jerry McCollom commented
Thank you for accepting the PR!