You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: update_api_files.sh
+1
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ echo "]===]))" >> "$FILENAME"
75
75
# Copy the individual API files
76
76
forfin"${file_list[@]}";do
77
77
source_file=$SOURCE/apis/$f.normal.json
78
+
# remove example keys from documentation to prevent security reports from being triggered
78
79
jq 'walk( if (type == "object") and has("documentation") and (.documentation|contains("wJalrXUtnFEMI")) then del(.documentation) else . end )'"$source_file">|"$TFILE"
79
80
mv -f "$TFILE""$source_file"; touch "$TFILE"
80
81
# replace . with - since . can't be in a Lua module name
0 commit comments