mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 02:54:12 +02:00
fix github getfilecontent zod schema to match readme spec
This commit is contained in:
committed by
Peter M. Elias
parent
cecd241500
commit
59b831f326
@@ -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"),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user