Commit de0821b9 authored by Lionel Walter's avatar Lionel Walter
Browse files

Update swagger description for JobReport

parent aa9f87d1
Pipeline #10127 passed with stages
in 3 minutes and 12 seconds
......@@ -24,24 +24,22 @@ class JobReport(Resource):
200:
description: Success, job report gets returned
schema:
id: helm-result
properties:
status:
type: string
example: success/error
example: SUCCESS/FAILURE
enum: ['SUCCESS', 'FAILURE']
report:
type: string
example: 'institutionXYZ-235323B: something failed!\n
institutionXYZ-235323C: that one went totally wrong'
job_id:
type: string
example: j0001
500:
description: Impossible to get results
schema:
$ref: '#/definitions/helm-result'
properties:
error:
type: string
example: Unexpected Kafka error
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment