ONOS-7038 OFAgent REST api docs could not be viewed <ip>:8181/onos/v1/docs

Change-Id: Ifc2137eef21d6f60100d689a84ee5c94d6e63361
diff --git a/apps/ofagent/BUCK b/apps/ofagent/BUCK
index 8e0826b..e32808e 100644
--- a/apps/ofagent/BUCK
+++ b/apps/ofagent/BUCK
@@ -30,7 +30,11 @@
 osgi_jar_with_tests (
     deps = COMPILE_DEPS,
     test_deps = TEST_DEPS,
-    web_context = '/onos/v1/ofagent',
+    web_context = '/onos/ofagent',
+    api_title = 'OFAgent API',
+    api_version = '1.0',
+    api_description = 'REST API for OFAgent',
+    api_package = 'org.onosproject.ofagent.rest',
 )
 
 onos_app (