Forgejo · Schema

EditPullRequestOption

EditPullRequestOption options when modify pull request

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
allow_maintainer_edit boolean
assignee string
assignees array
base string
body string
due_date string
labels array
milestone integer
state string
title string
unset_due_date boolean
View JSON Schema on GitHub

JSON Schema

editpullrequestoption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EditPullRequestOption",
  "description": "EditPullRequestOption options when modify pull request",
  "type": "object",
  "properties": {
    "allow_maintainer_edit": {
      "type": "boolean",
      "x-go-name": "AllowMaintainerEdit"
    },
    "assignee": {
      "type": "string",
      "x-go-name": "Assignee"
    },
    "assignees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Assignees"
    },
    "base": {
      "type": "string",
      "x-go-name": "Base"
    },
    "body": {
      "type": "string",
      "x-go-name": "Body"
    },
    "due_date": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Deadline"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "x-go-name": "Labels"
    },
    "milestone": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "Milestone"
    },
    "state": {
      "type": "string",
      "x-go-name": "State"
    },
    "title": {
      "type": "string",
      "x-go-name": "Title"
    },
    "unset_due_date": {
      "type": "boolean",
      "x-go-name": "RemoveDeadline"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}