fix: Typo

This commit is contained in:
Ilya Kuznetsov 2025-01-15 16:50:24 +01:00
parent e5497f75b8
commit 33bd3b81cb
No known key found for this signature in database
GPG Key ID: 91F3DDCF5D21CDDF
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ func isReferenceType(v *jsonschema.Schema, refs map[string]jsonschema.Schema, cu
return true
}
}
props := resolveAdditionaProperties(v)
props := resolveAdditionalProperties(v)
if !isInOwnFields(props, customFields) {
return false
}
@ -39,7 +39,7 @@ func isInOwnFields(node *jsonschema.Schema, customFields map[string]bool) bool {
return true
}
func resolveAdditionaProperties(v *jsonschema.Schema) *jsonschema.Schema {
func resolveAdditionalProperties(v *jsonschema.Schema) *jsonschema.Schema {
if v.AdditionalProperties == nil {
return nil
}