Revert "swagger doc generation"

This reverts commit f4d9a271bc7ef204cfd7324fe696a0fdc4fe4873.