Skip to content

Commit 05d7120

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent ff58313 commit 05d7120

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

api/bomexchangeapi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ the server does not support any of the requested content types a HTTP 406 respon
6767
MUST be returned. The 406 response body MUST contain a list of server supported
6868
content types in the below format with `text/plain` content type.
6969

70-
```text
70+
```abnf
7171
media-type *(", " media-type)
7272
```
7373

7474
e.g. `application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3`
7575

7676
API servers MUST provide the correct `Content-Type` HTTP response header. For example:
7777

78-
```httpspec
78+
```http
7979
Content-Type: application/vnd.cyclonedx+xml; version=1.4
8080
```
8181

@@ -87,7 +87,7 @@ MUST respond with the latest available version of the BOM.
8787
- Clients MUST support an optional `Authorization` header being specified.
8888
- Clients MUST provide a `Accept` HTTP request header. For example:
8989

90-
```httpspec
90+
```http
9191
Accept: application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3
9292
```
9393

@@ -115,7 +115,7 @@ the server does not support the supplied content type a HTTP 415 Unsupported
115115
Media Type response MUST be returned. The 415 response body MUST contain a list
116116
of server supported content types in the below format with `text/plain` content type.
117117

118-
```text
118+
```abnf
119119
media-type *(", " media-type)
120120
```
121121

@@ -130,6 +130,6 @@ Clients MUST support an optional `Authorization` header being specified.
130130

131131
Clients MUST provide the correct `Content-Type` HTTP request header. For example:
132132

133-
```httpspec
133+
```http
134134
Content-Type: application/vnd.cyclonedx+xml; version=1.4
135135
```

discovery/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ These point to URIs for the transparency exchange data.
143143
If there are no records, try to resolve the name (using AAAA and A DNS records) and
144144
append the /.well-known/tei prefix
145145
146-
```zone_file
146+
```zone
147147
_tei._tcp.tex.example.com. 3600 IN URI 10 1 “https://www.example.com/transparency“
148148
```
149149

150150
Example response of DNS query including multiple URIs with a priority
151151

152-
```zone_file
152+
```zone
153153
_tei._tcp.tex.example.com. 3600 IN URI 10 1 “https://www.example.com/transparency“
154154
_tei._tcp.tex.example.com. 3600 IN URI 20 1 “https://backup.example.com/transparency“
155155
_tei._tcp.tex.example.com. 3600 IN URI 30 1 “https://thirdparty.example.org/example.com/transparency“

0 commit comments

Comments
 (0)