Skip to content

Commit 01ddb49

Browse files
Commit via running ake Sources/code-scanning
1 parent 3d411a2 commit 01ddb49

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sources/code-scanning/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,8 @@ public struct Client: APIProtocol {
876876
/// For very old analyses this data is not available,
877877
/// and `0` is returned in this field.
878878
///
879-
/// **Deprecation notice**:
880-
/// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
879+
/// > [!WARNING]
880+
/// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
881881
///
882882
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
883883
///

Sources/code-scanning/Types.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public protocol APIProtocol: Sendable {
7474
/// For very old analyses this data is not available,
7575
/// and `0` is returned in this field.
7676
///
77-
/// **Deprecation notice**:
78-
/// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
77+
/// > [!WARNING]
78+
/// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
7979
///
8080
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
8181
///
@@ -412,8 +412,8 @@ extension APIProtocol {
412412
/// For very old analyses this data is not available,
413413
/// and `0` is returned in this field.
414414
///
415-
/// **Deprecation notice**:
416-
/// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
415+
/// > [!WARNING]
416+
/// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
417417
///
418418
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
419419
///
@@ -4903,8 +4903,8 @@ public enum Operations {
49034903
/// For very old analyses this data is not available,
49044904
/// and `0` is returned in this field.
49054905
///
4906-
/// **Deprecation notice**:
4907-
/// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
4906+
/// > [!WARNING]
4907+
/// > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
49084908
///
49094909
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
49104910
///

0 commit comments

Comments
 (0)