fix github getfilecontent zod schema to match readme spec

This commit is contained in:
Peter M Elias
2024-12-27 23:28:54 -08:00
committed by Peter M. Elias
parent cecd241500
commit 59b831f326

View File

@@ -367,6 +367,8 @@ export const CreateRepositorySchema = z.object({
});
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"),
branch: z.string().optional().describe("Branch to get contents from"),
});