diff --git a/library/build.go b/library/build.go index 2ca9c368..993f3523 100644 --- a/library/build.go +++ b/library/build.go @@ -12,8 +12,6 @@ import ( ) // Build is the library representation of a build for a pipeline. -// -// swagger:model Build type Build struct { ID *int64 `json:"id,omitempty"` RepoID *int64 `json:"repo_id,omitempty"` diff --git a/library/executor.go b/library/executor.go index 62200230..0decb1e0 100644 --- a/library/executor.go +++ b/library/executor.go @@ -10,8 +10,6 @@ import ( ) // Executor is the library representation of an executor for a worker. -// -// swagger:model Executor type Executor struct { ID *int64 `json:"id,omitempty"` Host *string `json:"host,omitempty"` diff --git a/library/repo.go b/library/repo.go index 46c87df7..cc50e504 100644 --- a/library/repo.go +++ b/library/repo.go @@ -8,8 +8,6 @@ import ( ) // Repo is the library representation of a repo. -// -// swagger:model Repo type Repo struct { ID *int64 `json:"id,omitempty"` UserID *int64 `json:"user_id,omitempty"` diff --git a/library/schedule.go b/library/schedule.go index b9511e98..06fcf168 100644 --- a/library/schedule.go +++ b/library/schedule.go @@ -7,8 +7,6 @@ import ( ) // Schedule is the API representation of a schedule for a repo. -// -// swagger:model Schedule type Schedule struct { ID *int64 `json:"id,omitempty"` RepoID *int64 `json:"repo_id,omitempty"` diff --git a/library/user.go b/library/user.go index 3e2deb8e..e4b06bef 100644 --- a/library/user.go +++ b/library/user.go @@ -9,8 +9,6 @@ import ( ) // User is the library representation of a user. -// -// swagger:model User type User struct { ID *int64 `json:"id,omitempty"` Name *string `json:"name,omitempty"` diff --git a/library/worker.go b/library/worker.go index a454190a..01090271 100644 --- a/library/worker.go +++ b/library/worker.go @@ -7,8 +7,6 @@ import ( ) // Worker is the library representation of a worker. -// -// swagger:model Worker type Worker struct { ID *int64 `json:"id,omitempty"` Hostname *string `json:"hostname,omitempty"`