Skip to content

Commit

Permalink
Add a new Swagger topic
Browse files Browse the repository at this point in the history
  • Loading branch information
jbradberry committed Jul 6, 2020
1 parent 017ad9f commit e345ec1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions awx/api/views/__init__.py
Expand Up @@ -674,12 +674,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):
Expand Down
1 change: 1 addition & 0 deletions awx/api/views/organization.py
Expand Up @@ -144,6 +144,7 @@ class OrganizationExecutionEnvironmentsList(SubListCreateAttachDetachAPIView):
serializer_class = ExecutionEnvironmentSerializer
parent_model = Organization
parent_key = 'organization'
swagger_topic = "Execution Environments"


class OrganizationJobTemplatesList(SubListCreateAPIView):
Expand Down

0 comments on commit e345ec1

Please sign in to comment.