corrected item typo

This commit is contained in:
Shreyas Goenka 2023-01-13 17:28:46 +01:00
parent cc5ed2bc76
commit babd7fa4eb
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ type Schema struct {
type Property struct { type Property struct {
Type JsType `json:"type"` Type JsType `json:"type"`
Items *Item `json:"item,omitempty"` Items *Item `json:"items,omitempty"`
Properities map[string]*Property `json:"properties,omitempty"` Properities map[string]*Property `json:"properties,omitempty"`
AdditionalProperities *Property `json:"additionalProperties,omitempty"` AdditionalProperities *Property `json:"additionalProperties,omitempty"`
} }

View File

@ -136,7 +136,7 @@ func TestObjectSchema(t *testing.T) {
"properties": { "properties": {
"stakes": { "stakes": {
"type": "array", "type": "array",
"item": { "items": {
"type": "string" "type": "string"
} }
} }