api: set the api_doc before registering any api
api: set the api_doc before registering any api

This is a left over from the re ordering of the API init.  The api_doc
should be set first, so later API registration will enable their
relevent swagger doc.

Currently, the swagger documentation of the system API is not available.

Fixes #1160

Signed-off-by: Amnon Heiman <ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@scylladb.com>
Message-Id: <1459750490-15996-1-git-send-email-ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@scylladb.com>

scylladb/scylla,scylladb/scylla,kjniemi/scylla,duarten/scylla,avikivity/scylla,raphaelsc/scylla,duarten/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,kjniemi/scylla,avikivity/scylla,duarten/scylla,raphaelsc/scylla,raphaelsc/scylla,kjniemi/scylla