mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -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
|
model = models.ExecutionEnvironment
|
||||||
serializer_class = serializers.ExecutionEnvironmentSerializer
|
serializer_class = serializers.ExecutionEnvironmentSerializer
|
||||||
|
swagger_topic = "Execution Environments"
|
||||||
|
|
||||||
|
|
||||||
class ExecutionEnvironmentDetail(RetrieveUpdateDestroyAPIView):
|
class ExecutionEnvironmentDetail(RetrieveUpdateDestroyAPIView):
|
||||||
|
|
||||||
model = models.ExecutionEnvironment
|
model = models.ExecutionEnvironment
|
||||||
serializer_class = serializers.ExecutionEnvironmentSerializer
|
serializer_class = serializers.ExecutionEnvironmentSerializer
|
||||||
|
swagger_topic = "Execution Environments"
|
||||||
|
|
||||||
|
|
||||||
class ProjectList(ListCreateAPIView):
|
class ProjectList(ListCreateAPIView):
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ class OrganizationExecutionEnvironmentsList(SubListCreateAttachDetachAPIView):
|
|||||||
parent_model = Organization
|
parent_model = Organization
|
||||||
relationship = 'executionenvironments'
|
relationship = 'executionenvironments'
|
||||||
parent_key = 'organization'
|
parent_key = 'organization'
|
||||||
|
swagger_topic = "Execution Environments"
|
||||||
|
|
||||||
|
|
||||||
class OrganizationJobTemplatesList(SubListCreateAPIView):
|
class OrganizationJobTemplatesList(SubListCreateAPIView):
|
||||||
|
|||||||
Reference in New Issue
Block a user