├── .babelrc ├── .eslintignore ├── .eslintrc ├── .github └── workflows │ ├── build-and-deploy.yml │ └── lint-and-test.yml ├── .gitignore ├── .husky ├── .gitignore ├── pre-commit └── pre-push ├── .npmignore ├── LICENSE ├── README.md ├── package.json ├── src ├── cli │ ├── index.ts │ ├── program.ts │ └── utils.ts ├── config.ts ├── converter.ts ├── formatter.ts ├── index.ts ├── interfaces.ts └── validations.ts ├── tests ├── cli │ └── program.test.ts ├── config.test.ts ├── converter.test.ts ├── index.html ├── strip-schema.test.ts ├── test-data │ ├── array-of-array-object.json │ ├── array-of-array-string.json │ ├── array-of-objects.json │ ├── compositions-allOf-references.json │ ├── compositions-allOf-simple.json │ ├── enum-array-schema.json │ ├── enum-string-schema.json │ ├── invalid-schema.json │ ├── lat-long-schema.json │ ├── local-ref-schema.json │ ├── nested-schema.json │ ├── reference-no-protocol.json │ ├── simple-schema-no-title.json │ ├── simple-schema.json │ └── top-level-ref.json └── validations.test.ts ├── tsconfig.es6.json ├── tsconfig.json └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/build-and-deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.github/workflows/build-and-deploy.yml -------------------------------------------------------------------------------- /.github/workflows/lint-and-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.github/workflows/lint-and-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run lint -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm test -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/package.json -------------------------------------------------------------------------------- /src/cli/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/cli/index.ts -------------------------------------------------------------------------------- /src/cli/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/cli/program.ts -------------------------------------------------------------------------------- /src/cli/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/cli/utils.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/converter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/converter.ts -------------------------------------------------------------------------------- /src/formatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/formatter.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/validations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/src/validations.ts -------------------------------------------------------------------------------- /tests/cli/program.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/cli/program.test.ts -------------------------------------------------------------------------------- /tests/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/config.test.ts -------------------------------------------------------------------------------- /tests/converter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/converter.test.ts -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/strip-schema.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/strip-schema.test.ts -------------------------------------------------------------------------------- /tests/test-data/array-of-array-object.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/array-of-array-object.json -------------------------------------------------------------------------------- /tests/test-data/array-of-array-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/array-of-array-string.json -------------------------------------------------------------------------------- /tests/test-data/array-of-objects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/array-of-objects.json -------------------------------------------------------------------------------- /tests/test-data/compositions-allOf-references.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/compositions-allOf-references.json -------------------------------------------------------------------------------- /tests/test-data/compositions-allOf-simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/compositions-allOf-simple.json -------------------------------------------------------------------------------- /tests/test-data/enum-array-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/enum-array-schema.json -------------------------------------------------------------------------------- /tests/test-data/enum-string-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/enum-string-schema.json -------------------------------------------------------------------------------- /tests/test-data/invalid-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/invalid-schema.json -------------------------------------------------------------------------------- /tests/test-data/lat-long-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/lat-long-schema.json -------------------------------------------------------------------------------- /tests/test-data/local-ref-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/local-ref-schema.json -------------------------------------------------------------------------------- /tests/test-data/nested-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/nested-schema.json -------------------------------------------------------------------------------- /tests/test-data/reference-no-protocol.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/reference-no-protocol.json -------------------------------------------------------------------------------- /tests/test-data/simple-schema-no-title.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/simple-schema-no-title.json -------------------------------------------------------------------------------- /tests/test-data/simple-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/simple-schema.json -------------------------------------------------------------------------------- /tests/test-data/top-level-ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/test-data/top-level-ref.json -------------------------------------------------------------------------------- /tests/validations.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tests/validations.test.ts -------------------------------------------------------------------------------- /tsconfig.es6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tsconfig.es6.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cchandurkar/json-schema-to-case-class/HEAD/webpack.config.js --------------------------------------------------------------------------------