fix github getfilecontent zod schema to match readme spec
This commit is contained in:
parent
cecd241500
commit
59b831f326
1 changed files with 2 additions and 0 deletions
|
|
@ -367,6 +367,8 @@ export const CreateRepositorySchema = z.object({
|
||||||
});
|
});
|
||||||
|
|
||||||
export const GetFileContentsSchema = RepoParamsSchema.extend({
|
export const GetFileContentsSchema = RepoParamsSchema.extend({
|
||||||
|
owner: z.string().describe("Repository owner (username or organization)"),
|
||||||
|
repo: z.string().describe("Repository name"),
|
||||||
path: z.string().describe("Path to the file or directory"),
|
path: z.string().describe("Path to the file or directory"),
|
||||||
branch: z.string().optional().describe("Branch to get contents from"),
|
branch: z.string().optional().describe("Branch to get contents from"),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue