Skip to content

Commit e90fdf5

Browse files
authored
Fix #864 - Always serialize a brief and registry_url (#929)
1 parent 161a61b commit e90fdf5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/weaver_resolved_schema/src/registry.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ use weaver_semconv::YamlValue;
2727
#[serde(deny_unknown_fields)]
2828
pub struct Registry {
2929
/// The semantic convention registry url.
30-
#[serde(skip_serializing_if = "String::is_empty")]
3130
pub registry_url: String,
3231
/// A list of semantic convention groups.
3332
pub groups: Vec<Group>,
@@ -53,7 +52,6 @@ pub struct Group {
5352
/// The type of the group including the specific fields for each type.
5453
pub r#type: GroupType,
5554
/// A brief description of the semantic convention.
56-
#[serde(skip_serializing_if = "String::is_empty")]
5755
pub brief: String,
5856
/// A more elaborate description of the semantic convention.
5957
/// It defaults to an empty string.

0 commit comments

Comments
 (0)