mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Add a new Swagger topic
This commit is contained in:
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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user