Skip to content

Commit

Permalink
Merge pull request #149 from dkliban/status-schema
Browse files Browse the repository at this point in the history
Problem: OpenAPI schema for status API is missing a response
  • Loading branch information
dkliban committed May 22, 2019
2 parents 14683ee + 4d4f26a commit a3a4ef2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pulpcore/app/views/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ class StatusView(APIView):
authentication_classes = []
permission_classes = []

@swagger_auto_schema(operation_summary="Inspect status of Pulp")
@swagger_auto_schema(operation_summary="Inspect status of Pulp",
operation_id="status_read",
responses={200: StatusSerializer})
def get(self, request, format=None):
"""
Returns app information including the version of pulpcore and loaded pulp plugins,
Expand Down

0 comments on commit a3a4ef2

Please sign in to comment.