@@ -18,7 +18,7 @@ ABNF rules are used from [RFC3986: Uniform Resource Identifier (URI): Generic Sy
18
18
19
19
These additional rules are defined:
20
20
21
- ``` text
21
+ ``` abnf
22
22
system-url = supported-scheme ":" hier-part
23
23
; a system defined URL
24
24
; hier-part as defined in RFC3986
@@ -39,7 +39,7 @@ This method is for retrieving a BOM from a system.
39
39
40
40
The BOM retrieval URL MUST comply with this syntax:
41
41
42
- ``` text
42
+ ``` abnf
43
43
bom-retrieval-url = system-url "?" bom-identifier-query
44
44
bom-identifier-query = "bomIdentifier=" bom-identifier
45
45
bom-identifier = *( pchar / "/" / "?" )
@@ -67,15 +67,15 @@ the server does not support any of the requested content types a HTTP 406 respon
67
67
MUST be returned. The 406 response body MUST contain a list of server supported
68
68
content types in the below format with ` text/plain ` content type.
69
69
70
- ``` text
70
+ ``` abnf
71
71
media-type *(", " media-type)
72
72
```
73
73
74
74
e.g. ` application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3 `
75
75
76
76
API servers MUST provide the correct ` Content-Type ` HTTP response header. For example:
77
77
78
- ``` text
78
+ ``` http
79
79
Content-Type: application/vnd.cyclonedx+xml; version=1.4
80
80
```
81
81
@@ -87,7 +87,7 @@ MUST respond with the latest available version of the BOM.
87
87
- Clients MUST support an optional ` Authorization ` header being specified.
88
88
- Clients MUST provide a ` Accept ` HTTP request header. For example:
89
89
90
- ``` text
90
+ ``` http
91
91
Accept: application/vnd.cyclonedx+xml; version=1.4, application/vnd.cyclonedx+xml; version=1.3
92
92
```
93
93
@@ -97,7 +97,7 @@ This method is for submitting a BOM to a system.
97
97
98
98
The BOM submission URL MUST comply with this syntax:
99
99
100
- ``` text
100
+ ``` abnf
101
101
bom-submission-url = system-url
102
102
```
103
103
@@ -115,7 +115,7 @@ the server does not support the supplied content type a HTTP 415 Unsupported
115
115
Media Type response MUST be returned. The 415 response body MUST contain a list
116
116
of server supported content types in the below format with ` text/plain ` content type.
117
117
118
- ```
118
+ ``` abnf
119
119
media-type *(", " media-type)
120
120
```
121
121
@@ -130,6 +130,6 @@ Clients MUST support an optional `Authorization` header being specified.
130
130
131
131
Clients MUST provide the correct ` Content-Type ` HTTP request header. For example:
132
132
133
- ``` text
133
+ ``` http
134
134
Content-Type: application/vnd.cyclonedx+xml; version=1.4
135
- ```
135
+ ```
0 commit comments