We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cefcff commit cf950b2Copy full SHA for cf950b2
src/utils/common-utils.js
@@ -417,6 +417,8 @@ export function getSampleValueByType(schemaObj) {
417
return 0.5;
418
case 'string':
419
return (schemaObj.enum ? schemaObj.enum[0] : (schemaObj.pattern ? schemaObj.pattern : "string"))
420
+ case 'url':
421
+ return 'http://example.com';
422
case 'byte':
423
return btoa('string');
424
case 'binary':
0 commit comments