Skip to content

Commit f626e70

Browse files
authored
fix(proto): correct 'plain text' typo in AttachedText comment (CycloneDX#786)
Corrects a typo in Protocol Buffers schema documentation: "plan text" -> "plain text" for the example. Closes CycloneDX#785.
2 parents 251b1cd + 7ef4b85 commit f626e70

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

schema/bom-1.6.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "google/protobuf/timestamp.proto";
44

55
// Specifies attributes of the text
66
message AttachedText {
7-
// Specifies the format and nature of the data being attached, helping systems correctly interpret and process the content. Common content type examples include `application/json` for JSON data and `text/plain` for plan text documents. [RFC 2045 section 5.1](https://www.ietf.org/rfc/rfc2045.html#section-5.1) outlines the structure and use of content types. For a comprehensive list of registered content types, refer to the [IANA media types registry](https://www.iana.org/assignments/media-types/media-types.xhtml).
7+
// Specifies the format and nature of the data being attached, helping systems correctly interpret and process the content. Common content type examples include `application/json` for JSON data and `text/plain` for plain text documents. [RFC 2045 section 5.1](https://www.ietf.org/rfc/rfc2045.html#section-5.1) outlines the structure and use of content types. For a comprehensive list of registered content types, refer to the [IANA media types registry](https://www.iana.org/assignments/media-types/media-types.xhtml).
88
optional string content_type = 1;
99
// Specifies the optional encoding the text is represented in
1010
optional string encoding = 2;

schema/bom-1.7.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "google/protobuf/timestamp.proto";
44

55
// Specifies attributes of the text
66
message AttachedText {
7-
// Specifies the format and nature of the data being attached, helping systems correctly interpret and process the content. Common content type examples include `application/json` for JSON data and `text/plain` for plan text documents. [RFC 2045 section 5.1](https://www.ietf.org/rfc/rfc2045.html#section-5.1) outlines the structure and use of content types. For a comprehensive list of registered content types, refer to the [IANA media types registry](https://www.iana.org/assignments/media-types/media-types.xhtml).
7+
// Specifies the format and nature of the data being attached, helping systems correctly interpret and process the content. Common content type examples include `application/json` for JSON data and `text/plain` for plain text documents. [RFC 2045 section 5.1](https://www.ietf.org/rfc/rfc2045.html#section-5.1) outlines the structure and use of content types. For a comprehensive list of registered content types, refer to the [IANA media types registry](https://www.iana.org/assignments/media-types/media-types.xhtml).
88
optional string content_type = 1;
99
// Specifies the encoding the text is represented in
1010
optional string encoding = 2;

0 commit comments

Comments
 (0)