Skip to content

Commit 8a9ddc2

Browse files
committed
edit generate_schemas
1 parent e81296a commit 8a9ddc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate_schemas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function return_json_schema(directoryPath, folder_path, project_name) {
4444
.replace(/^.*[\\/]/, "")
4545
.replace(/\.[^/.]+$/, "");
4646
var rpc = jsonData["rpc"];
47-
jsonData["$id"] = project_name + folder_path + rpc;
47+
jsonData["$id"] = project_name + folder_path + "." + rpc;
4848
schemas[filename] = jsonData;
4949
} catch (error) {
5050
console.error(

0 commit comments

Comments
 (0)