@@ -18,7 +18,7 @@ ABNF rules are used from [RFC3986: Uniform Resource Identifier (URI): Generic Sy
1818
1919These additional rules are defined:
2020
21- ``` text
21+ ``` abnf
2222system-url = supported-scheme ":" hier-part
2323 ; a system defined URL
2424 ; hier-part as defined in RFC3986
@@ -39,7 +39,7 @@ This method is for retrieving a BOM from a system.
3939
4040The BOM retrieval URL MUST comply with this syntax:
4141
42- ``` text
42+ ``` abnf
4343bom-retrieval-url = system-url "?" bom-identifier-query
4444bom-identifier-query = "bomIdentifier=" bom-identifier
4545bom-identifier = *( pchar / "/" / "?" )
@@ -67,15 +67,15 @@ the server does not support any of the requested content types a HTTP 406 respon
6767MUST be returned. The 406 response body MUST contain a list of server supported
6868content types in the below format with ` text/plain ` content type.
6969
70- ``` text
70+ ``` abnf
7171media-type *(", " media-type)
7272```
7373
7474e.g. ` application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3 `
7575
7676API servers MUST provide the correct ` Content-Type ` HTTP response header. For example:
7777
78- ``` text
78+ ``` http
7979Content-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- ``` text
90+ ``` http
9191Accept: application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3
9292```
9393
@@ -97,7 +97,7 @@ This method is for submitting a BOM to a system.
9797
9898The BOM submission URL MUST comply with this syntax:
9999
100- ``` text
100+ ``` abnf
101101bom-submission-url = system-url
102102```
103103
@@ -115,7 +115,7 @@ the server does not support the supplied content type a HTTP 415 Unsupported
115115Media Type response MUST be returned. The 415 response body MUST contain a list
116116of server supported content types in the below format with ` text/plain ` content type.
117117
118- ```
118+ ``` abnf
119119media-type *(", " media-type)
120120```
121121
@@ -130,6 +130,6 @@ Clients MUST support an optional `Authorization` header being specified.
130130
131131Clients MUST provide the correct ` Content-Type ` HTTP request header. For example:
132132
133- ``` text
133+ ``` http
134134Content-Type: application/vnd.cyclonedx+xml; version=1.4
135- ```
135+ ```
0 commit comments