Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 32 additions & 12 deletions lib/rest/static/decorated/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -513474,14 +513474,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
}
}
Expand Down Expand Up @@ -513529,15 +513533,22 @@
"type": "string",
"name": "key_prefix",
"in": "body",
"description": "<p>The prefix appended by alphanumeric characters will generate a link any time it is found in an issue, pull request, or commit.</p>",
"description": "<p>This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit.</p>",
"isRequired": true
},
{
"type": "string",
"name": "url_template",
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number. <code>&#x3C;num></code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>.</p>",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number. <code>&#x3C;num></code> matches different characters depending on the value of <code>is_alphanumeric</code>.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -513550,7 +513561,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down Expand Up @@ -513593,14 +513605,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
}
}
Expand Down Expand Up @@ -513705,14 +513721,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
}
}
Expand Down
10 changes: 9 additions & 1 deletion lib/rest/static/decorated/ghes-3.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -402391,6 +402391,13 @@
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -402403,7 +402410,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down
10 changes: 9 additions & 1 deletion lib/rest/static/decorated/ghes-3.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -423478,6 +423478,13 @@
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -423490,7 +423497,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down
10 changes: 9 additions & 1 deletion lib/rest/static/decorated/ghes-3.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -433513,6 +433513,13 @@
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -433525,7 +433532,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down
10 changes: 9 additions & 1 deletion lib/rest/static/decorated/ghes-3.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -441900,6 +441900,13 @@
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -441912,7 +441919,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down
10 changes: 9 additions & 1 deletion lib/rest/static/decorated/github.ae.json
Original file line number Diff line number Diff line change
Expand Up @@ -378752,6 +378752,13 @@
"in": "body",
"description": "<p>The URL must contain <code>&#x3C;num></code> for the reference number.</p>",
"isRequired": true
},
{
"type": "boolean",
"name": "is_alphanumeric",
"in": "body",
"description": "<p>Whether this autolink reference matches alphanumeric characters. If true, the <code>&#x3C;num></code> parameter of the <code>url_template</code> matches alphanumeric characters <code>A-Z</code> (case insensitive), <code>0-9</code>, and <code>-</code>. If false, this autolink reference only matches numeric characters.</p>",
"default": "true"
}
],
"enabledForGitHubApps": true,
Expand All @@ -378764,7 +378771,8 @@
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
},
"parameters": {
"owner": "OWNER",
Expand Down
42 changes: 30 additions & 12 deletions lib/rest/static/dereferenced/api.github.com.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -197632,14 +197632,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
}
},
Expand Down Expand Up @@ -197706,11 +197710,16 @@
"properties": {
"key_prefix": {
"type": "string",
"description": "The prefix appended by alphanumeric characters will generate a link any time it is found in an issue, pull request, or commit."
"description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit."
},
"url_template": {
"type": "string",
"description": "The URL must contain `<num>` for the reference number. `<num>` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`."
"description": "The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`."
},
"is_alphanumeric": {
"type": "boolean",
"default": "true",
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
}
},
"required": [
Expand All @@ -197722,7 +197731,8 @@
"default": {
"value": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
}
}
}
Expand Down Expand Up @@ -197760,14 +197770,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
},
"examples": {
Expand Down Expand Up @@ -197947,14 +197961,18 @@
]
},
"is_alphanumeric": {
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
"type": "boolean"
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
"type": "boolean",
"examples": [
true
]
}
},
"required": [
"id",
"key_prefix",
"url_template"
"url_template",
"is_alphanumeric"
]
},
"examples": {
Expand Down
8 changes: 7 additions & 1 deletion lib/rest/static/dereferenced/ghes-3.3.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -161303,6 +161303,11 @@
"url_template": {
"type": "string",
"description": "The URL must contain `<num>` for the reference number."
},
"is_alphanumeric": {
"type": "boolean",
"default": "true",
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
}
},
"required": [
Expand All @@ -161314,7 +161319,8 @@
"default": {
"value": {
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>"
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
}
}
}
Expand Down
Loading