jsonschema2md icon indicating copy to clipboard operation
jsonschema2md copied to clipboard

Duplicated information in generated output

Open elupus opened this issue 2 years ago • 0 comments

Expected Behaviour

Type of field only reported once. And type section is compact in the generated output. Preferable a table format always for the required, type, defined location and so on. Currently the output ends up very verbose, for very simple schema.

`raw`

*   is required

*   cannot be null

*   defined in: [Configuration]()

### raw Type

`string[]`

Actual Behaviour

Type of a node is reported in multiple sections.

`raw`

*   is required

*   Type: `string[]`

*   cannot be null

*   defined in: [Configuration]()

### raw Type

`string[]`

Reproduce Scenario (including but not limited to)

Steps to Reproduce

"raw": {
	"type": "array",
	"items": { "type": "string" }
}

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

elupus avatar Dec 02 '21 09:12 elupus