Function salvo_oapi::schema::empty
source ยท pub fn empty() -> Schema
Expand description
Create an empty
Schema
that serializes to null
.
Can be used in places where an item can be serialized as null
. This is used with unit type
enum variants and tuple unit types.