Moved API to correctly appear in the autogenerated documentation
Change-Id: I740d17ae4cf805b03d3a9f7cf8c5ff63ab6af35f
diff --git a/xos/api/service/metronetworkservice.py b/xos/api/service/metronetworkservice/metronetworkservice.py
similarity index 97%
rename from xos/api/service/metronetworkservice.py
rename to xos/api/service/metronetworkservice/metronetworkservice.py
index a7945fc..368e52f 100644
--- a/xos/api/service/metronetworkservice.py
+++ b/xos/api/service/metronetworkservice/metronetworkservice.py
@@ -22,7 +22,7 @@
class MetroNetworkServiceViewSet(XOSViewSet):
base_name = "metronetworkservice"
- method_name = "metronetworkservice/metronetwork"
+ method_name = "metronetwork"
method_kind = "viewset"
queryset = MetroNetworkService.get_service_objects().all()
serializer_class = MetroNetworkServiceSerializer
@@ -65,7 +65,7 @@
class NetworkEdgePortViewSet(XOSViewSet):
base_name = "SCA_ETH_FPP_UNI_N"
- method_name = "metronetworkservice/SCA_ETH_FPP_UNI_N"
+ method_name = "SCA_ETH_FPP_UNI_N"
method_kind = "viewset"
queryset = NetworkEdgePort.objects.all()
serializer_class = NetworkEdgePortSerializer
@@ -106,7 +106,7 @@
class NetworkEdgeToEdgePointConnectionViewSet(XOSViewSet):
base_name = "SCA_ETH_FDFr_EC"
- method_name = "metronetworkservice/SCA_ETH_FDFr_EC"
+ method_name = "SCA_ETH_FDFr_EC"
method_kind = "viewset"
queryset = NetworkEdgeToEdgePointConnection.objects.all()
serializer_class = NetworkEdgeToEdgePointConnectionSerializer