feat: add automatic mapping generation

Fixes #6
This commit is contained in:
Anselm Stordeur
2019-02-05 14:54:52 +01:00
committed by Wieland Schöbl
parent 969badfb29
commit 7b198f95ce
13 changed files with 1267 additions and 78 deletions

View File

@@ -142,6 +142,7 @@ export interface ExpectableValidationErrors {
* Get a project reflection from a path
*
* @param srcPath Path to get reflection from
* @param excludeExternals Exclude external dependencies
*/
export function getProjectReflection(srcPath: PathLike, excludeExternals = true): ProjectReflection {
Logger.info(`Generating project reflection for ${srcPath.toString()}.`);
@@ -175,7 +176,7 @@ export function getProjectReflection(srcPath: PathLike, excludeExternals = true)
}
/**
* Check if a schema has definitions
* Guard method for checking if a schema has definitions
*
* @param schema Schema to check
*/