Fix published url for huaweidriver
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / service / rest / SwaggerRoa.java
index 7ff1e2c..27a5ae3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Huawei Technologies Co., Ltd.
+ * Copyright 2016-2017 Huawei Technologies Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,20 +29,22 @@ import org.apache.commons.io.IOUtils;
  * Swagger API Doc.<br/>
  *
  * @author
- * @version NFVO 0.5 Oct 24, 2016
+ * @version VFC 1.0 Oct 24, 2016
  */
-@Path("/openoapi/hwvnfm/v1")
+@Path("/api/huaweivnfmdriver/v1")
 @Produces({MediaType.APPLICATION_JSON})
 public class SwaggerRoa {
+
     /**
      * API doc.
+     * 
      * @param filename
      * @return
      * @throws IOException
      */
     @GET
     @Path("/swagger.json")
-    public String apidoc() throws IOException{
+    public String apidoc() throws IOException {
         ClassLoader classLoader = getClass().getClassLoader();
         return IOUtils.toString(classLoader.getResourceAsStream("swagger.json"));
     }