They have a cell wall which protects the bacteria, determines whether they are gram positive or gram negative bacteria and also helps maintain their shape.
Now, Leptospira is a tiny spiral bacteria, that stains poorly with Gram staining, because it doesn't retain the Gram dyes well, so it's classically considered gram-negative.