mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Implement Issue Config (#20956)
Closes #20955 This PR adds the possibility to disable blank Issues, when the Repo has templates. This can be done by creating the file `.gitea/issue_config.yaml` with the content `blank_issues_enabled` in the Repo.
This commit is contained in:
@@ -386,3 +386,17 @@ type swaggerRepoCollaboratorPermission struct {
|
||||
// in:body
|
||||
Body api.RepoCollaboratorPermission `json:"body"`
|
||||
}
|
||||
|
||||
// RepoIssueConfig
|
||||
// swagger:response RepoIssueConfig
|
||||
type swaggerRepoIssueConfig struct {
|
||||
// in:body
|
||||
Body api.IssueConfig `json:"body"`
|
||||
}
|
||||
|
||||
// RepoIssueConfigValidation
|
||||
// swagger:response RepoIssueConfigValidation
|
||||
type swaggerRepoIssueConfigValidation struct {
|
||||
// in:body
|
||||
Body api.IssueConfigValidation `json:"body"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user