From 11704f9ee1e60a16f679bb80b01e889113b78b75 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Mon, 14 Oct 2024 15:34:36 -0800 Subject: [PATCH] fix proc time api schema --- apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2 b/apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2 index bdf598caf..ebee991a0 100644 --- a/apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2 +++ b/apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2 @@ -413,15 +413,20 @@ components: type: array items: oneOf: - - $ref: "#/components/schemas/processing_times" + - type: array + items: + $ref: '#/components/schemas/processing_time_in_seconds' + example: [200, 100, 150] - $ref: '#/components/schemas/processing_time_in_seconds' + processing_time_in_seconds: description: > Run time in seconds for a processing step's final attempt (regardless of whether it succeeded). A value of zero indicates that there were no attempts. type: number minimum: 0 + example: 50 securitySchemes: EarthDataLogin: