diff --git a/lib/codegen/fromcto/jsonschema/jsonschemavisitor.js b/lib/codegen/fromcto/jsonschema/jsonschemavisitor.js index 71718733..7ec27950 100644 --- a/lib/codegen/fromcto/jsonschema/jsonschemavisitor.js +++ b/lib/codegen/fromcto/jsonschema/jsonschemavisitor.js @@ -60,7 +60,7 @@ class JSONSchemaVisitor { /** * Get the validators for a field or a scalar definition in JSON schema form. - * @param {Object} type - the scalar declaration being visited + * @param {String} type - the field type * @param {bool} [isScalarUUID] - flag to indicate given field type is scalar uuid * @param {bool} [validator] - the field validator * @return {Object} the result of visiting or null diff --git a/types/lib/codegen/fromcto/jsonschema/jsonschemavisitor.d.ts b/types/lib/codegen/fromcto/jsonschema/jsonschemavisitor.d.ts index ab763b43..d7b3b146 100644 --- a/types/lib/codegen/fromcto/jsonschema/jsonschemavisitor.d.ts +++ b/types/lib/codegen/fromcto/jsonschema/jsonschemavisitor.d.ts @@ -30,7 +30,7 @@ declare class JSONSchemaVisitor { getDecorators(decorated: object): object; /** * Get the validators for a field or a scalar definition in JSON schema form. - * @param {Object} type - the scalar declaration being visited + * @param {String} type - the field type * @param {bool} [isScalarUUID] - flag to indicate given field type is scalar uuid * @param {bool} [validator] - the field validator * @return {Object} the result of visiting or null