Expand description
§vld-poem — Poem integration for vld
Validation extractors for Poem. Validates request
data against vld schemas and returns 422 Unprocessable Entity with
structured JSON errors on failure.
§Extractors
| Extractor | Source |
|---|---|
VldJson<T> | JSON body |
VldQuery<T> | Query string |
VldPath<T> | Path parameters |
VldForm<T> | Form body |
VldHeaders<T> | HTTP headers |
VldCookie<T> | Cookie values |
Modules§
- prelude
- Prelude — import everything you need.
Structs§
- VldCookie
- Validated cookie extractor for Poem.
- VldForm
- Validated form body extractor for Poem.
- VldHeaders
- Validated HTTP headers extractor for Poem.
- VldJson
- Validated JSON body extractor for Poem.
- VldPath
- Validated path parameters extractor for Poem.
- VldPoem
Error - Validation error returned by vld-poem extractors.
- VldQuery
- Validated query string extractor for Poem.