mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Add a new Swagger topic
This commit is contained in:
committed by
Shane McDonald
parent
c05e4e07ee
commit
5ec7378135
@@ -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):
|
||||
|
||||
@@ -150,6 +150,7 @@ class OrganizationExecutionEnvironmentsList(SubListCreateAttachDetachAPIView):
|
||||
parent_model = Organization
|
||||
relationship = 'executionenvironments'
|
||||
parent_key = 'organization'
|
||||
swagger_topic = "Execution Environments"
|
||||
|
||||
|
||||
class OrganizationJobTemplatesList(SubListCreateAPIView):
|
||||
|
||||
Reference in New Issue
Block a user