Forgejo · Schema

CreatePullRequestOption

CreatePullRequestOption options when creating a pull request

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
assignee string
assignees array
base string
body string
due_date string
head string
labels array
milestone integer
title string
View JSON Schema on GitHub

JSON Schema

createpullrequestoption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreatePullRequestOption",
  "description": "CreatePullRequestOption options when creating a pull request",
  "type": "object",
  "properties": {
    "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"
    },
    "head": {
      "type": "string",
      "x-go-name": "Head"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "x-go-name": "Labels"
    },
    "milestone": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "Milestone"
    },
    "title": {
      "type": "string",
      "x-go-name": "Title"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}