Skip to content

Commit

Permalink
Fix documentation of ToSampleJson (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltlombardi authored Sep 26, 2023
1 parent 69933dc commit 418bff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NJsonSchema/JsonSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,8 +899,8 @@ public string ToJson(Formatting formatting)
return json;
}

/// <summary>Creates a <see cref="JsonSchema" /> from sample JSON data.</summary>
/// <returns>The JSON Schema.</returns>
/// <summary>Generates a sample JSON object from a JSON Schema.</summary>
/// <returns>The JSON token.</returns>
public JToken ToSampleJson()
{
var generator = new SampleJsonDataGenerator();
Expand Down Expand Up @@ -1074,4 +1074,4 @@ private static ObservableDictionary<string, T> ToObservableDictionary<T>(IDictio
return value as ObservableDictionary<string, T> ?? new ObservableDictionary<string, T>(value);
}
}
}
}

0 comments on commit 418bff5

Please sign in to comment.