salvo-openapi

Installation
SKILL.md

Salvo OpenAPI Integration

[dependencies]
salvo = { version = "0.94.0", features = ["oapi"] }
serde = { version = "1", features = ["derive"] }

#[endpoint] vs #[handler]

#[handler] is the plain Salvo handler. #[endpoint] registers the same handler AND generates OpenAPI operation metadata. Use #[endpoint] on any route you want documented.

Auto-documentation rules

Documentation is only generated for things the macro can see at compile time:

Installs
26
GitHub Stars
20
First Seen
Feb 10, 2026
salvo-openapi — salvo-rs/salvo-skills