summaryrefslogtreecommitdiff
path: root/octosentry/GitHubAPIModels.swift
diff options
context:
space:
mode:
Diffstat (limited to 'octosentry/GitHubAPIModels.swift')
-rw-r--r--octosentry/GitHubAPIModels.swift8
1 files changed, 8 insertions, 0 deletions
diff --git a/octosentry/GitHubAPIModels.swift b/octosentry/GitHubAPIModels.swift
index 3a84aa8..2b95b70 100644
--- a/octosentry/GitHubAPIModels.swift
+++ b/octosentry/GitHubAPIModels.swift
@@ -86,3 +86,11 @@ nonisolated struct SecretScanningAlertDTO: Decodable {
case validity
}
}
+
+nonisolated struct GitHubRepoDTO: Decodable {
+ let fullName: String
+
+ enum CodingKeys: String, CodingKey {
+ case fullName = "full_name"
+ }
+}