@swagger_auto_schema(
request_body=CreatePortPairGpSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
@swagger_auto_schema(
request_body=CreateFlowClaSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
@swagger_auto_schema(
request_body=CreatePortChainSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
@swagger_auto_schema(
request_body=None,
responses={
- status.HTTP_204_NO_CONTENT: None,
+ status.HTTP_204_NO_CONTENT: 'successful',
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
}
)
@swagger_auto_schema(
request_body=NotifyLcmReqSerializer(),
responses={
- status.HTTP_201_CREATED: None,
+ status.HTTP_201_CREATED: 'successful',
status.HTTP_409_CONFLICT: "Inner error"
}
)
@swagger_auto_schema(
request_body=None,
responses={
- status.HTTP_204_NO_CONTENT: None,
+ status.HTTP_204_NO_CONTENT: 'successful',
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
}
)
'django.contrib.staticfiles',
'rest_framework',
'lcm.pub.database',
- 'lcm.samples',
- 'lcm.swagger',
+ # 'lcm.samples',
+ # 'lcm.swagger',
'drf_yasg'
]