Often oven hinges have some general slop/sliding ability built in, and wiggling the door in various ways might very well be enough to get it back into proper position. Try opening it and jiggling/sliding the hinge parts in and around. Of course, if the door itself is actually bent or something that is not likely to work.
It might be necessary to take the range out of the countertop and remove the side panels to extricate the door entirely. If you do that, make sure you take pictures and/or notes of how things are put together as getting the springs and levers and such back properly once disassembled is often not as intuitively obvious as one would hope. If some spring or lever or linkage has become disconnected, then taking these things apart is pretty nearly essential, I'd think. It's usually only a half dozen screws or so that hold it in place, a few under the range top "hood" that you can open up and a couple around the bottom of the oven door.