Skip to content

Commit 18500a0

Browse files
author
json-everything-ci
committed
regenerated api docs
1 parent a223d56 commit 18500a0

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

_docs/api/JsonSchema.Net.DataGeneration/JsonSchemaExtensions.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,25 @@ Provides extension methods for **Json.Schema.JsonSchema** to generate sample dat
1616

1717
## Methods
1818

19+
### GenerateData(this JsonSchema schema)
20+
21+
Attempts to generate sample data that meets the requirements of the schema.
22+
23+
#### Declaration
24+
25+
```c#
26+
public static GenerationResult GenerateData(this JsonSchema schema)
27+
```
28+
29+
| Parameter | Type | Description |
30+
|---|---|---|
31+
| schema | JsonSchema | The schema. |
32+
33+
34+
#### Returns
35+
36+
A result object indicating success and containing the result or error message.
37+
1938
### GenerateData(this JsonSchema schema, BuildOptions options)
2039

2140
Attempts to generate sample data that meets the requirements of the schema.
@@ -29,7 +48,7 @@ public static GenerationResult GenerateData(this JsonSchema schema, BuildOptions
2948
| Parameter | Type | Description |
3049
|---|---|---|
3150
| schema | JsonSchema | The schema. |
32-
| options | BuildOptions | A set of build options. |
51+
| options | BuildOptions | not used |
3352

3453

3554
#### Returns

_docs/api/JsonSchema.Net.DataGeneration/title.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ bookmark: JsonSchema.Net.DataGeneration
44
permalink: /api/JsonSchema.Net.DataGeneration/:title/
55
folder: true
66
order: "10.07"
7-
version: "3.1.0"
7+
version: "3.2.0"
88
---

_docs/release-notes/rn-json-schema-datageneration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ order: "09.07"
66
---
77
# [3.1.0](https://github.com/gregsdennis/json-everything/pull/1015) {#release-schemadatagen-3.1.0}
88

9+
- [#892](https://github.com/gregsdennis/json-everything/issues/892) - Support recursive references. Thanks to [@Frassle](https://github.com/Frassle) for the suggestion.
10+
- Support `$dynamicRef`
11+
- Removes the `BuildOptions` parameter from the `.GenerateData()` method since it's not used
12+
13+
# [3.1.0](https://github.com/gregsdennis/json-everything/pull/1015) {#release-schemadatagen-3.1.0}
14+
915
- Replaced Fare with internal regex value generation to significantly improve regex support
1016
- Improved conditional support
1117
- Added `propertyNames` support

0 commit comments

Comments
 (0)