Skip to content

fix: make algorithm type enum compatible with GraphQL #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions spec/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ info:
license:
name: Apache 2.0
url: https://github.com/CycloneDX/transparency-exchange-api/blob/main/LICENSE
version: 0.1.0-beta.1
version: 0.1.1-beta
servers:
- url: http://localhost/tea/v1
description: Local development
Expand Down Expand Up @@ -438,7 +438,7 @@ components:
checksums:
- algType: MD5
algValue: 2e1a525afc81b0a8ecff114b8b743de9
- algType: SHA-1
- algType: SHA1
algValue: 5a7d4caef63c5c5ccdf07c39337323529eb5a770
- uuid: dfa35519-9734-4259-bba1-3e825cf4be06
name: Vulnerability Disclosure Report
Expand All @@ -448,7 +448,7 @@ components:
description: CycloneDX VDR (XML)
url: https://logging.apache.org/cyclonedx/vdr.xml
checksums:
- algType: SHA-256
- algType: SHA_256
algValue: 75b81020b3917cb682b1a7605ade431e062f7a4c01a412f0b87543b6e995ad2a

collection-update-reason:
Expand Down Expand Up @@ -546,16 +546,16 @@ components:
description: Checksum algorithm
enum:
- MD5
- SHA-1
- SHA-256
- SHA-384
- SHA-512
- SHA3-256
- SHA3-384
- SHA3-512
- BLAKE2b-256
- BLAKE2b-384
- BLAKE2b-512
- SHA1
- SHA_256
- SHA_384
- SHA_512
- SHA3_256
- SHA3_384
- SHA3_512
- BLAKE2B_256
- BLAKE2B_384
- BLAKE2B_512
- BLAKE3
#
# Types used in API responses
Expand Down