@json-schema-tools/transpiler
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -21,10 +21,8 @@ import { JSONSchema } from "@json-schema-tools/meta-schema"; | ||
/** | ||
* Returns a copy of the schema (deep) where if any subschema does not have a title, one will be created. | ||
* The subschemas can be considered a tree of schemas, and in this case, we are resolving titles on the leaves | ||
* of the tree. Think depth first traversal, but where the internal nodes' titles are not resolved until | ||
* it's entire subtree is complete. | ||
* Returns the schema with a title that is deterministic and generated based on their content. | ||
* It will also generate titles for subschemas that are missing them. | ||
* | ||
* @param s The schema to ensure has names for it and all subschemas of it. | ||
* | ||
* @returns Deep schema copy of the input schema where the schema and all sub schemas have titles. | ||
* @returns schema with title and titles on all subschemas. | ||
* | ||
@@ -31,0 +29,0 @@ * @category Utils |
@@ -146,10 +146,8 @@ "use strict"; | ||
/** | ||
* Returns a copy of the schema (deep) where if any subschema does not have a title, one will be created. | ||
* The subschemas can be considered a tree of schemas, and in this case, we are resolving titles on the leaves | ||
* of the tree. Think depth first traversal, but where the internal nodes' titles are not resolved until | ||
* it's entire subtree is complete. | ||
* Returns the schema with a title that is deterministic and generated based on their content. | ||
* It will also generate titles for subschemas that are missing them. | ||
* | ||
* @param s The schema to ensure has names for it and all subschemas of it. | ||
* | ||
* @returns Deep schema copy of the input schema where the schema and all sub schemas have titles. | ||
* @returns schema with title and titles on all subschemas. | ||
* | ||
@@ -156,0 +154,0 @@ * @category Utils |
@@ -0,1 +1,8 @@ | ||
## [1.4.3](https://github.com/json-schema-tools/transpiler/compare/1.4.2...1.4.3) (2020-10-08) | ||
### Bug Fixes | ||
* update docs for titleizer ([5c6f8fa](https://github.com/json-schema-tools/transpiler/commit/5c6f8fab79207b4aa597a06e8f3dfb759c7166ae)) | ||
## [1.4.2](https://github.com/json-schema-tools/transpiler/compare/1.4.1...1.4.2) (2020-09-09) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@json-schema-tools/transpiler", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Turn your json schema into typings for various languages. Achieve master class dev tooling.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
117126
2411