Revert "Set the Swagger version to 2.0 in API declarations."

This reverts commit 516e4e137dd2696c3d744222eaee7c5ea43d3628.