jsonschema2md icon indicating copy to clipboard operation
jsonschema2md copied to clipboard

Specify single input and output file

Open pauldraper opened this issue 4 years ago • 3 comments

The CLI is cumbersome.

It requires placing the schema file in a directory with a unique extension and then outputting to a directory.

I just want to take a single file and convert it to a single file.

--input doc says it takes single file, but actually I get an error that it's not a directory.

pauldraper avatar Jan 16 '21 16:01 pauldraper

I have no issues with the CLI, but the ability to provide a single file as input would CERTAINLY be valued.

jeffpatton1971 avatar May 21 '21 19:05 jeffpatton1971

IIRC this was possible with versions < 4 but was changed during the major release 4.0.0 - but no idea why. That might be the reason, the docs still mention it.

laugmanuel avatar Jun 11 '21 06:06 laugmanuel

pls update docs accordingly.

Or, even better, readd support for generating a single doc from a single foo.schema.json

pniederlag avatar Feb 01 '22 07:02 pniederlag