You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ For more specific integration options, please check out the [integration documen
11
11
12
12
-[Understanding the output format](#understanding-the-output-format)
13
13
-[Generate models from AsyncAPI documents](#generate-models-from-asyncapi-documents)
14
-
-[Generate models from JSON Schema draft 7 documents](#generate-models-from-json-schema-draft-7-documents)
14
+
-[Generate models from JSON Schema documents](#generate-models-from-json-schema-documents)
15
15
-[Generate models from Swagger 2.0 documents](#generate-models-from-swagger-20-documents)
16
16
-[Generate Go models](#generate-go-models)
17
17
-[Generate C# models](#generate-c%23-models)
@@ -37,12 +37,14 @@ The library expects the `asyncapi` property for the document to be set in order
37
37
38
38
The message payloads, since it is a JSON Schema variant, is [interpreted as a such](./interpretation_of_JSON_Schema.md).
39
39
40
-
## Generate models from JSON Schema draft 7 documents
40
+
## Generate models from JSON Schema documents
41
41
42
-
There are one way to generate models from a JSON Schema draft 7 document.
42
+
There is one way to generate models for a JSON Schema document.
43
43
44
44
-[Generate from a pure JS object](../examples/json-schema-draft7-from-object)
45
45
46
+
We support both draft-4 and draft-7 documents.
47
+
46
48
The library expects the `$schema` property for the document to be set in order to understand the input format. By default, if no other inputs are detected, it defaults to `JSON Schema draft 7`. The process of interpreting a JSON Schema to a model can be read [here](./interpretation_of_JSON_Schema.md).
0 commit comments