"oil" in a sping gun (whether a steel coil spring or a gas ram) MUST be limited to non-petroleum-based lubrication! One of the best, and easiest to find here in the States, is Crosman's Silicone Oil in the 3" tube. Silicone oil is not petroleum-based and will not produce an explosion (diesel) when rapidly compressed to a high pressure - exactly the conditions that occur when you fire a spring gun. When I took up airguns I wondered the same about oiling my guns and the best advice I found was to put just a single drop (or two drops at the most) into the compression chamber when the barrel is broken open on a break-barrel gun. That procedure only needs to be done once a year if the gun is seldom used; twice a year for a gun that sees action frequently. You should listen for the sound of "honking" when you cock the gun to know that more oil is needed - the gun's piston will honk like a goose as it is dragged down the dry compression tube walls. I have in the past set a gun upright overnight, having put 2 drops of silicone oil into the top (crown) of the barrel. The oil migrates downs the barrel, seeps around the breech seal, and works down into the chamber where it also lubes the piston seal. That works well as a type of preventative maintenance; if the gun starts honking on me I'll do the direct application of the drops to the compression chamber.
Underlevers and side levers the same: a drop or two (no more) into the compression chamber, introduced through the air port that leads into the barrel. This is the recommended amount for modern airguns with synthetic piston seals. Older airguns (and a very few models still made today) need more synthetic oil since they use leather piston seals and those must be kept moist and pliable. In no case should you introduce a petroleum product to the compression chamber or the barrel as this will lead to detonation of the oil and potential damage to your gun, you, your marriage, your homeowner's insurance rates, your rental agreement... just bad all around.