Fix unit tests for new serializer
Added AllowableValues to swagger api doc