jsonschema2md icon indicating copy to clipboard operation
jsonschema2md copied to clipboard

Incorrect references in "Objects" section of README.md in examples

Open Dr-Irv opened this issue 5 years ago • 0 comments

If you look at the file README.md file in https://github.com/adobe/jsonschema2md/blob/master/examples/docs/README.md you will see in the Objects section references to Simple that look like this:

-   [Simple](./complex-properties-simple.md "This is a very simple example of a JSON schema") – `https://example.com/schemas/simple#/properties/refnamed`
-   [Simple](./complex-properties-simple-1.md "This is a very simple example of a JSON schema") – `https://example.com/schemas/simple#/properties/refrefed`
-   [Simple](./complex-properties-refobj-properties-simple.md "This is a very simple example of a JSON schema") – `https://example.com/schemas/simple#/properties/refobj/properties/foo`
-   [Simple](./complex-properties-refnestedobj-properties-refobj-properties-simple.md "This is a very simple example of a JSON schema") – `https://example.com/schemas/simple#/properties/refnestedobj/properties/refobj/properties/foo`

The last link works fine as the file ./complex-properties-refnestedobj-properties-refobj-properties-simple.md is generated. But the first 3 links don't work as the 3 files reference there, ./complex-properties-simple.md, ./complex-properties-simple-1.md and ./complex-properties-refobj-properties-simple.md do not exist and are not generated.

I'm not sure if the links are wrong, or if the files were not generated, but either way, something is wrong.

Dr-Irv avatar Apr 20 '20 21:04 Dr-Irv