2个版本
0.1.1 | 2024年2月16日 |
---|---|
0.1.0 | 2024年2月15日 |
543 在 过程宏 中
每月23次下载
7KB
60 行
Aide Comment
此包提供了一个宏,可用于从文档注释中提取OpenAPI操作的摘要和描述。此包支持axum,并将其信息与aide集成。
/// This is a summary
///
/// This is a longer description of the endpoint that is expected to be much
/// more detailed and may span more lines than the first paragraph summary.
#[aidecomment]
async fn my_handler() -> &'static str {
"hello world"
}
lib.rs
:
依赖关系
~275–720KB
~17K SLoC