We have a lot of mappings files. When we upgrade W...
# wiremock-java
t
We have a lot of mappings files. When we upgrade Wiremock we are getting the error about the
id
:s not being unique... I made a little script that we can run to remove them:
Copy code
find . -name "*.json" | while read -r file; do
    echo Patching $file
    jq 'del(.id, .uuid)' "$file" > "$file.temp" && mv "$file.temp" "$file"
done
Perhaps more users are in similar situation and it can be mentioned in the documentation somewhere? Or they will have to ask Chatgpt themselves =)
l
Did you fancy putting a PR up on the docs site?
t
I can do that, just don't know where it belongs.
l
I'll have a look over the weekend and see if we can find a good place for it
👍 1