Forgejo · Schema

UpdateBranchRepoOption

UpdateBranchRepoOption options when updating a branch in a repository

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
name string New branch name
View JSON Schema on GitHub

JSON Schema

updatebranchrepooption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "UpdateBranchRepoOption",
  "description": "UpdateBranchRepoOption options when updating a branch in a repository",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "description": "New branch name",
      "type": "string",
      "uniqueItems": true,
      "x-go-name": "Name"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}