predawn-macro 0.9.0

Macros for predawn
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Define an OpenAPI Tag.

This macro will generate 1 implementation, [`Tag`].

## Example

```rust
use predawn::Tag;

/// This doc will be used as the tag description
#[derive(Tag)]
#[tag(rename = "This a tag")]
pub struct Hello;
```

`rename` is optional, default is the type name.

[`Tag`]: https://docs.rs/predawn/latest/predawn/trait.Tag.html