pub(crate) fn schema_version_validation(ep: impl Endpoint) -> impl Endpoint
Expand description
A function that wraps an endpoint with the SchemaVersionValidation
.
This function is convenient to use with poem-openapi
operation parameters via the
transform
attribute.