fixed issues during conversion ()

Swaggerized the primitive types names (ex: Integer is called int in Swagger specs), added default apiVersion, added default basePath, fixed check for when resources return no representations, returned void when an operation returns nothing