factorized upload and import post fields in openapi spec
factorized upload and import post fields in openapi spec

closes #4075

Chocobozzz/PeerTube,Chocobozzz/PeerTube,Chocobozzz/PeerTube,Chocobozzz/PeerTube