8000 fix(typescript): updated endpoint route & parameter definitions · octokit/endpoint.js@c6e9e6b · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit c6e9e6b

Browse files
Octokit Botgr2m
authored andcommitted
fix(typescript): updated endpoint route & parameter definitions
1 parent abd7ab0 commit c6e9e6b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/generated/routes.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ export interface Routes {
11381138
ReposCreateInOrgEndpoint,
11391139
ReposCreateInOrgRequestOptions
11401140
];
1141-
"POST /repos/:owner/:repo/generate": [
1141+
"POST /repos/:template_owner/:template_repo/generate": [
11421142
ReposCreateUsingTemplateEndpoint,
11431143
ReposCreateUsingTemplateRequestOptions
11441144
];
@@ -5606,8 +5606,9 @@ type ReposCreateInOrgRequestOptions = {
56065606
request: EndpointRequestOptions;
56075607
};
56085608
type ReposCreateUsingTemplateEndpoint = {
5609-
repo: string;
5610-
owner: string;
5609+
template_owner: string;
5610+
template_repo: string;
5611+
owner?: string;
56115612
name: string;
56125613
description?: string;
56135614
private?: boolean;

0 commit comments

Comments
 (0)
0