Skip to content

Commit

Permalink
latest changes swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Oct 5, 2022
1 parent 5e02dd8 commit 46ec154
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

type Project struct {
Type_ string `json:"type"`
Type_ string `json:"type,omitempty"`
Links *ProjectLinks `json:"links,omitempty"`
// The project's immutable id.
Uuid string `json:"uuid,omitempty"`
Expand All @@ -25,9 +25,9 @@ type Project struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
// Indicates whether the project is publicly accessible, or whether it is private to the team and consequently only visible to team members. Note that private projects cannot contain public repositories.
IsPrivate bool `json:"is_private,omitempty"`
CreatedOn time.Time `json:"created_on,omitempty"`
UpdatedOn time.Time `json:"updated_on,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
CreatedOn *time.Time `json:"created_on,omitempty"`
UpdatedOn *time.Time `json:"updated_on,omitempty"`
// Indicates whether the project contains publicly visible repositories. Note that private projects cannot contain public repositories.
HasPubliclyVisibleRepos bool `json:"has_publicly_visible_repos,omitempty"`
}

0 comments on commit 46ec154

Please sign in to comment.