Make get_schema_object public
This commit is contained in:
parent
870dc3a2de
commit
a00f488559
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ impl SchemaGenerator {
|
|||
})
|
||||
}
|
||||
|
||||
pub(crate) fn get_schema_object<'a>(&'a self, mut schema: &'a Schema) -> Result<SchemaObject> {
|
||||
pub fn get_schema_object<'a>(&'a self, mut schema: &'a Schema) -> Result<SchemaObject> {
|
||||
loop {
|
||||
match schema {
|
||||
Schema::Object(o) => return Ok(o.clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue