Undo last change affecting internal tagged enums.
It broke things!
This commit is contained in:
parent
792fbbb86e
commit
fba1753bba
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ fn schema_for_internal_tagged_enum<'a>(
|
|||
let field = &variant.fields[0];
|
||||
let ty = get_json_schema_type(field);
|
||||
quote_spanned! {field.original.span()=>
|
||||
gen.subschema_for::<#ty>()
|
||||
<#ty>::json_schema(gen)
|
||||
}
|
||||
}
|
||||
Style::Struct => schema_for_struct(&variant.fields, cattrs),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue