Add a new Swagger topic

This commit is contained in:
Jeff Bradberry 2020-07-06 16:23:01 -04:00 committed by Shane McDonald
parent c05e4e07ee
commit 5ec7378135
2 changed files with 3 additions and 0 deletions

View File

@ -690,12 +690,14 @@ class ExecutionEnvironmentList(ListCreateAPIView):
model = models.ExecutionEnvironment
serializer_class = serializers.ExecutionEnvironmentSerializer
swagger_topic = "Execution Environments"
class ExecutionEnvironmentDetail(RetrieveUpdateDestroyAPIView):
model = models.ExecutionEnvironment
serializer_class = serializers.ExecutionEnvironmentSerializer
swagger_topic = "Execution Environments"
class ProjectList(ListCreateAPIView):

View File

@ -150,6 +150,7 @@ class OrganizationExecutionEnvironmentsList(SubListCreateAttachDetachAPIView):
parent_model = Organization
relationship = 'executionenvironments'
parent_key = 'organization'
swagger_topic = "Execution Environments"
class OrganizationJobTemplatesList(SubListCreateAPIView):