Skip to content

Commit

Permalink
fix proc time api schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Oct 14, 2024
1 parent 6b6da4a commit 11704f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/api/src/hyp3_api/api-spec/openapi-spec.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 11704f9

Please sign in to comment.