Skip to content

Commit 9f83ad7

Browse files
authored
Merge pull request #150 from taleodor/main
fix: use upper-case enums
2 parents 6834354 + 8fb6f43 commit 9f83ad7

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

spec/openapi.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ components:
233233
description: An identifier with a specified type
234234
properties:
235235
idType:
236-
description: Type of identifier, e.g. `tei`, `purl`, `cpe`
236+
description: Type of identifier, e.g. `TEI`, `PURL`, `CPE`
237237
"$ref": "#/components/schemas/identifier-type"
238238
idValue:
239239
description: Identifier value
@@ -242,9 +242,9 @@ components:
242242
type: string
243243
description: Enumeration of identifiers types
244244
enum:
245-
- cpe
246-
- tei
247-
- purl
245+
- CPE
246+
- TEI
247+
- PURL
248248
uuid:
249249
type: string
250250
description: A UUID
@@ -284,13 +284,13 @@ components:
284284
- uuid: 09e8c73b-ac45-4475-acac-33e6a7314e6d
285285
name: Apache Log4j 2
286286
identifiers:
287-
- idType: cpe
287+
- idType: CPE
288288
idValue: cpe:2.3:a:apache:log4j
289-
- idType: purl
289+
- idType: PURL
290290
idValue: pkg:maven/org.apache.logging.log4j/log4j-api
291-
- idType: purl
291+
- idType: PURL
292292
idValue: pkg:maven/org.apache.logging.log4j/log4j-core
293-
- idType: purl
293+
- idType: PURL
294294
idValue: pkg:maven/org.apache.logging.log4j/log4j-layout-template-json
295295
components:
296296
- 3910e0fd-aff4-48d6-b75f-8bf6b84687f0
@@ -324,14 +324,14 @@ components:
324324
- uuid: 3910e0fd-aff4-48d6-b75f-8bf6b84687f0
325325
name: Apache Log4j API
326326
identifiers:
327-
- idType: purl
327+
- idType: PURL
328328
idValue: pkg:maven/org.apache.logging.log4j/log4j-api
329329
- uuid: b844c9bd-55d6-478c-af59-954a932b6ad3
330330
name: Apache Log4j Core
331331
identifiers:
332-
- idType: cpe
332+
- idType: CPE
333333
idValue: cpe:2.3:a:apache:log4j
334-
- idType: purl
334+
- idType: PURL
335335
idValue: pkg:maven/org.apache.logging.log4j/log4j-core
336336

337337
#
@@ -371,22 +371,22 @@ components:
371371
version: "11.0.6"
372372
releaseDate: 2025-04-01T15:43:00Z
373373
identifiers:
374-
- idType: purl
374+
- idType: PURL
375375
idValue: pkg:maven/org.apache.tomcat/[email protected]
376376
# Different release of Apache Tomcat
377377
- uuid: da89e38e-95e7-44ca-aa7d-f3b6b34c7fab
378378
version: "10.1.40"
379379
releaseDate: 2025-04-01T18:20:00Z
380380
identifiers:
381-
- idType: purl
381+
- idType: PURL
382382
idValue: pkg:maven/org.apache.tomcat/[email protected]
383383
# A pre-release of Apache Tomcat
384384
- uuid: 95f481df-f760-47f4-b2f2-f8b76d858450
385385
version: "11.0.0-M26"
386386
releaseDate: 2024-09-13T17:49:00Z
387387
preRelease: true
388388
identifiers:
389-
- idType: purl
389+
- idType: PURL
390390
idValue: pkg:maven/org.apache.tomcat/[email protected]
391391

392392
#
@@ -429,7 +429,7 @@ components:
429429
artifacts:
430430
- uuid: 1cb47b95-8bf8-3bad-a5a4-0d54d86e10ce
431431
name: Build SBOM
432-
type: bom
432+
type: BOM
433433
formats:
434434
- mime_type: application/vnd.cyclonedx+xml
435435
description: CycloneDX SBOM (XML)

0 commit comments

Comments
 (0)