Skip to content

Commit 9f957d1

Browse files
authored
Merge pull request #141 from taleodor/main
fix: OpenAPI spec fixes as discussed on community meeting on 2025-05-07
2 parents 8551044 + 371ae95 commit 9f957d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/openapi.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ paths:
5555
$ref: "#/components/responses/paginated-product"
5656
'400':
5757
$ref: "#/components/responses/400-invalid-request"
58-
'404':
59-
$ref: "#/components/responses/404-object-by-id-not-found"
6058
tags:
6159
- TEA Product
6260
/component/{uuid}:
@@ -227,6 +225,7 @@ components:
227225
description: Timestamp
228226
format: date-time
229227
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
228+
example: '2024-03-20T15:30:00Z'
230229
identifier:
231230
type: object
232231
description: An identifier with a specified type
@@ -345,6 +344,7 @@ components:
345344
version:
346345
description: Version number
347346
type: string
347+
example: 1.2.3
348348
releaseDate:
349349
description: Timestamp of the release (for sorting purposes)
350350
"$ref": "#/components/schemas/date-time"
@@ -405,8 +405,8 @@ components:
405405
description: |
406406
TEA Collection version, incremented each time its content changes.
407407
Versions start with 1.
408-
releaseDate:
409-
description: TEA Collection version release date.
408+
date:
409+
description: The date when the TEA Collection version was created.
410410
"$ref": "#/components/schemas/date-time"
411411
updateReason:
412412
description: Reason for the update/release of the TEA Collection object.
@@ -419,8 +419,8 @@ components:
419419
examples:
420420
# Documents in the latest release of Log4j Core
421421
- uuid: 4c72fe22-9d83-4c2f-8eba-d6db484f32c8
422-
version: 1
423-
releaseDate: 2024-12-13T00:00:00Z
422+
version: 3
423+
date: 2024-12-13T00:00:00Z
424424
updateReason:
425425
type: ARTIFACT_UPDATED
426426
comment: VDR file updated

0 commit comments

Comments
 (0)