json-schema-to-typescript icon indicating copy to clipboard operation
json-schema-to-typescript copied to clipboard

Input url

Open Karel-Kroeze opened this issue 3 years ago • 0 comments

adds the option to use an url as input to the CLI

  • uses validator.isURL() to test if the input is a valid fully qualified URL.
  • uses axios to fetch the schema.

Note that this includes the changes made by #384 , as I could not run tests otherwise. That also means failing tests are expected.

Karel-Kroeze avatar Apr 21 '21 16:04 Karel-Kroeze