You can do / diamond sword in chat and you can get a diamond sword
Note: Minify the command to avoid issues :)
/diamond sword
GOD SWORD!
GOD SWORD! 1.11.2
The Super Sword
OP DIAMOND SWORD!!!