Awiteb
20a8ac6715
### Changes - Implement `salvo_oapi::Extractible` and `salvo_oapi::EndpointArgRegister` for `PublicKey` - Implement `salvo_oapi::Extractible` and `salvo_oapi::ToParameters` for `Signature` ### Notes I did not implement `salvo_oapi::ToParameters` for `PublicKey` because it will not be used as an OpenAPI parameter. Instead, Salvo will register it using the `EndpointArgRegister` trait. Similarly, I did not implement `salvo_oapi::EndpointArgRegister` for `Signature` because it will not be used as an argument in the endpoint. Instead, the signature will be verified by the signature middleware, and we will only use it as a parameter. Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev> Reviewed-on: #33 Fixes: #21 Helped-by: Amjad Alsharafi <me@amjad.alsharafi.dev> Signed-off-by: Awiteb <a@4rs.nl> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |