diff --git a/schemars/tests/enum.rs b/schemars/tests/enum.rs index 70bd9d2..4c57f34 100644 --- a/schemars/tests/enum.rs +++ b/schemars/tests/enum.rs @@ -31,7 +31,6 @@ enum External { }, UnitTwo, Tuple(i32, bool), - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } @@ -54,7 +53,6 @@ enum Internal { bar: bool, }, UnitTwo, - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } @@ -77,7 +75,6 @@ enum Untagged { bar: bool, }, Tuple(i32, bool), - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } @@ -101,7 +98,6 @@ enum Adjacent { }, Tuple(i32, bool), UnitTwo, - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } diff --git a/schemars/tests/enum_deny_unknown_fields.rs b/schemars/tests/enum_deny_unknown_fields.rs index 62c1a45..ef56d05 100644 --- a/schemars/tests/enum_deny_unknown_fields.rs +++ b/schemars/tests/enum_deny_unknown_fields.rs @@ -33,7 +33,6 @@ enum External { }, UnitTwo, Tuple(i32, bool), - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } @@ -57,7 +56,6 @@ enum Internal { bar: bool, }, UnitTwo, - // FIXME this should only replace the "payload" of the enum (which doesn't even make sense for unit enums!) #[schemars(with = "i32")] WithInt, } @@ -81,7 +79,6 @@ enum Untagged { bar: bool, }, Tuple(i32, bool), - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } @@ -106,7 +103,6 @@ enum Adjacent { }, Tuple(i32, bool), UnitTwo, - // FIXME this should probably only replace the "payload" of the enum #[schemars(with = "i32")] WithInt, } diff --git a/schemars/tests/schema_with_enum.rs b/schemars/tests/schema_with_enum.rs index cf01b37..5cf419c 100644 --- a/schemars/tests/schema_with_enum.rs +++ b/schemars/tests/schema_with_enum.rs @@ -21,7 +21,6 @@ pub enum External { #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, i32, ), - // FIXME this should probably only replace the "payload" of the enum #[schemars(schema_with = "schema_fn")] Unit, } @@ -39,7 +38,6 @@ pub enum Internal { foo: DoesntImplementJsonSchema, }, NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), - // FIXME this should probably only replace the "payload" of the enum #[schemars(schema_with = "schema_fn")] Unit, } @@ -61,7 +59,6 @@ pub enum Untagged { #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, i32, ), - // FIXME this should probably only replace the "payload" of the enum #[schemars(schema_with = "schema_fn")] Unit, } @@ -83,7 +80,6 @@ pub enum Adjacent { #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, i32, ), - // FIXME this should probably only replace the "payload" of the enum #[schemars(schema_with = "schema_fn")] Unit, }