Skip to content

Commit 5d121f1

Browse files
committed
fix: remove date-time format from openTime field
Signed-off-by: Paul Horton <[email protected]>
1 parent d56d08f commit 5d121f1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

spec/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,6 @@ components:
32993299
applicationPublicId:
33003300
type: string
33013301
openTime:
3302-
format: date-time
33033302
type: string
33043303
policyViolationCount:
33053304
format: int64

update-spec.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,5 +519,10 @@
519519
'type': 'string'
520520
}
521521

522+
print('Patching schema: ContainerImageInQuarantineData...')
523+
json_spec['components']['schemas']['ContainerImageInQuarantineData']['properties']['openTime'] = {
524+
'type': 'string'
525+
}
526+
522527
with open('./spec/openapi.yaml', 'w') as output_yaml_specfile:
523528
output_yaml_specfile.write(yaml_dump(json_spec))

0 commit comments

Comments
 (0)