Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub OpenAPI.yaml #282

Merged
merged 12 commits into from
Jan 4, 2025
Prev Previous commit
Next Next commit
Filter-out more of openapi document + openapi-type fixes
MahdiBM committed Jan 3, 2025
commit 2e6a7db9c1a05d492a1be619581783feaa997f50
8 changes: 3 additions & 5 deletions Lambdas/GitHubAPI/Aliases.swift
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ package typealias FoundationURL = Foundation.URL

package typealias Repository = Components.Schemas.Repository
package typealias User = Components.Schemas.SimpleUser
package typealias Organization = Components.Schemas.OrganizationSimple
package typealias PullRequest = Components.Schemas.PullRequest
package typealias SimplePullRequest = Components.Schemas.PullRequestSimple
package typealias Issue = Components.Schemas.Issue
@@ -29,10 +28,9 @@ package typealias PullRequestReviewComment = Components.Schemas.PullRequestRevie
package typealias PullRequestReview = Components.Schemas.PullRequestReview
package typealias DiffEntry = Components.Schemas.DiffEntry
package typealias Commit = Components.Schemas.Commit
package typealias SimpleCommit = Components.Schemas.Commit
package typealias Committer = Components.Schemas.Commit.CommitterPayload
package typealias Enterprise = Components.Schemas.Enterprise
package typealias Installation = Components.Schemas.Installation
package typealias SimpleCommit = Components.Schemas.SimpleCommit
package typealias Committer = Components.Schemas.SimpleCommit.CommitterPayload
package typealias Installation = Components.Schemas.SimpleInstallation
package typealias Tag = Components.Schemas.Tag
package typealias ProjectCard = Components.Schemas.ProjectCard
package typealias TimelineIssueEvents = Components.Schemas.TimelineIssueEvents
2 changes: 0 additions & 2 deletions Lambdas/GitHubAPI/GHEvent.swift
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ package struct GHEvent: Sendable, Codable {
package let action: String?
package let sender: User
package let repository: Repository?
package let organization: Organization?

package let issue: Issue?
package let label: Label?
@@ -29,7 +28,6 @@ package struct GHEvent: Sendable, Codable {
package let installation: Installation?
package let pusher: Committer?
package let ref: String?
package let enterprise: Enterprise?
}

extension GHEvent {
Loading