salvo-rs/salvo

OAPI Extractor

Closed this issue · 0 comments

Problem
When use OAPI extractor in most cases use is a require and i woul'd like to see it set as defult

Solution
Set the REQUIRE value of extractor to default true in declaration eg, for QueryParams
QueryParam<T, const REQUIRED: bool = true>