diff --git a/docs/1.1-attributes.md b/docs/1.1-attributes.md index 9911ed7..eb4b8ca 100644 --- a/docs/1.1-attributes.md +++ b/docs/1.1-attributes.md @@ -58,12 +58,12 @@ Serde docs: [container](https://serde.rs/container-attrs.html#rename_all) / [var

-`#[serde(tag = "type")]` / `#[schemars(tag = "type")]` / `#[serde(untagged)]` / `#[schemars(untagged)]` +`#[serde(tag = "type")]` / `#[schemars(tag = "type")]` / `#[serde(tag = "t", content = "c")]` / `#[schemars(tag = "t", content = "c")]` / `#[serde(untagged)]` / `#[schemars(untagged)]`

-Set on an enum to generate the schema for the [internally tagged](https://serde.rs/enum-representations.html#internally-tagged) or [untagged](https://serde.rs/enum-representations.html#untagged) representation of this enum. Schemars does not currently support the adjacently tagged representation ([#4](https://github.com/GREsau/schemars/issues/4)). +Set on an enum to generate the schema for the [internally tagged](https://serde.rs/enum-representations.html#internally-tagged), [adjacently tagged](https://serde.rs/enum-representations.html#adjacently-tagged), or [untagged](https://serde.rs/enum-representations.html#untagged) representation of this enum. -Serde docs: [`tag`](https://serde.rs/container-attrs.html#tag) / [`untagged`](https://serde.rs/container-attrs.html#untagged) +Serde docs: [`tag`](https://serde.rs/container-attrs.html#tag) / [`tag`/`content`](https://serde.rs/container-attrs.html#tag--content) / [`untagged`](https://serde.rs/container-attrs.html#untagged)