wetzel icon indicating copy to clipboard operation
wetzel copied to clipboard

Generate Markdown documentation from JSON Schema

Results 16 wetzel issues
Sort by recently updated
recently updated
newest added

This was brought up in https://github.com/CesiumGS/3d-tiles/pull/700#issuecomment-1218407448 - in the repo, this may have been done manually...

I'm not sure if it's the intended behaviour, but it feels like it shouldn't be. `./main.json`: ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "main", "$ref": "./subdir/child1.json" } ``` `./subdir/child1.json`: ```json { "title":...

Wetzel version: Whatever it is in git right now. OS: Windows 10 Node: 16.13.1 Given the following two schemas placed in a subdirectory named *schemas*: *schemas\a.json:* ``` { "$schema": "https://json-schema.org/draft/2020-12/schema",...

Here is an example schema that refers to a type `exampleReferenceDefinition` that is defined in another file: ``` { "$schema": "https://json-schema.org/draft/2020-12/schema", "title" : "Definitions user example", "description" : "An example...

The new `getAdditionalProperties()` function, derived from behavior that was in `createPropertiesDetails()`, is now called at the top level to consistently show additional properties for the top-level schema as well as...

The approach for the tests in wetzel is explained in a [comment in `test.js`](https://github.com/CesiumGS/wetzel/blob/82890df68ae4c24c5679196c06e3afccd6673a30/test/test.js#L13) : Based on a set of example schemas, the tests consist of automatically generating the property...

This was brought up in https://github.com/CesiumGS/wetzel/pull/68#discussion_r824755241 and confirmed to be an issue in the generated output via https://github.com/KhronosGroup/glTF/issues/2158#issuecomment-1126772493 The change in this PR is supposed to be ~"the smallest possible...

This PR is proposing two new options: - Skipping generation of detailed information, to have a much more concise output - An option to add some additional information in the...

Convert the patterns to actual RegExp objects and then render them as such. This is especially useful for the perfectly valid empty pattern, which otherwise would not appear. Add a...

I have a JSON schema named `things.schema.json` that looks like this: ``` json { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "things.schema.json", "title": "Things", "description": "A list of things.", "type": "array", "uniqueItems": true, "minItems":...