mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-27 03:07:27 -08:00
Fix srcgen Optional<String> method argument bug
This commit is contained in:
parent
02056f1e59
commit
e4884b7918
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function stringifyType(prop, { endpoint = null, optional = false, fullpath = tru
|
||||||
prop = prop.anyOf[0];
|
prop = prop.anyOf[0];
|
||||||
}
|
}
|
||||||
if (optional) {
|
if (optional) {
|
||||||
return `Option<${stringifyType(prop, { endpoint, fullpath })}>`;
|
return `Option<${stringifyType(prop, { endpoint, fullpath, owned })}>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
let enumType = prop['x-enum'];
|
let enumType = prop['x-enum'];
|
||||||
|
|
Loading…
Reference in a new issue