This `switch` needs a bit of explanation in a comment. e.g., it can say why we're only looking for arrays and non-string/longs.

Also, why are considering upper case `A` for array? Can we just use lower-case `a` to be consistent with the swagger primitive nomenclature?

Also, rather than a switch/case, can we use the `Constants.primitives` array to determine if the user has specified an array, a non-array primitive, or if they've specified a model object?