Json-schema doesn't provide schema output (unexpected end of JSON input)

Hello Caddy-community,

I’m new at working with Caddy and so far it’s quite interesting although the json is quite difficult to write manually.

So I tried installing the json-schema module and generate a schema for my build, but so far no success…
I have tried everything from installing older versions, to removing all extra modules to trying it on my local machine.

The error I get when executing caddy json-schema is:
json-schema: unexpected end of JSON input

The first time it ran it tried to retrieve information from docs if I understood correctly, and the result was the above error. Since then that error is the only thing displaying.

1 Like

/cc @abiosoft

This topic was automatically closed after 30 days. New replies are no longer allowed.