I got rid of my swap partition and created a /swapfile following this procedure : https://wiki.archlinux.org/index.php/swap#Swap_file
I recently saw this : https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/
On the Arch wiki, the fstab instruction is :
/swapfile none swap defaults 0 0
on the ubuntu one : :
/swapfile swap swap defaults 0 0
What is the difference ? What is the most appropriate ?