Definition
A Cartesian fibration is a functor of -categories12 (e.g. quasicategories) such that for every morphism in and object with , there exists a -Cartesian edge in with . An edge over is -Cartesian if it satisfies the expected lifting/universal property on mapping spaces (or equivalently, induces a homotopy pullback on over-categories).34
Equivalently, cartesian fibrations over classify contravariant functors via straightening/unstraightening, generalising the 1-categorical correspondence between Grothendieck fibrations and pseudofunctors .3