We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7d85d commit f2b28c3Copy full SHA for f2b28c3
packages/go-gen/src/schema.rs
@@ -43,12 +43,12 @@ pub fn schema_object_type(
43
replace_custom_type(title)
44
} else if let Some(reference) = &schema.reference {
45
// if it has a reference, strip the path and use that
46
- replace_custom_type(
+ replace_custom_type(&replace_acronyms(
47
reference
48
.split('/')
49
.last()
50
.expect("split should always return at least one item"),
51
- )
+ ))
52
} else if let Some(t) = &schema.instance_type {
53
type_from_instance_type(schema, type_context, t, additional_structs)?
54
} else if let Some(subschemas) = schema.subschemas.as_ref().and_then(|s| s.any_of.as_ref()) {
0 commit comments