Changed to automatically handle splitting arrays of primitives, added support for public in order to hide operations from Swagger

@bajtos 
//CC @dashby3000