Git Diff ↔ Patch File Converter · Schema
Raw schema.
Same JSON the GET /v1/programming-dev/git-diff-to-file/schema endpoint returns — formatted for reading. Use it to codegen typed clients or document the contract.
{ "tool": "git-diff-to-file", "domain": "programming-dev", "version": "1.0.0", "name": "Git Diff ↔ Patch File Converter", "description": "Convert raw git diff output to downloadable .patch files or compare code snippets to generate patches 100% client-side. Find common git diff commands.", "standard": null, "inputs": [ { "key": "mode", "label": "Mode", "type": "enum", "options": [ "paste", "compare" ], "default": "paste" }, { "key": "raw_diff", "label": "Raw Diff", "help": "Paste raw git diff text here to clean up and download as a patch.", "type": "string", "maxLength": 1000000, "default": "" }, { "key": "before_code", "label": "Before Code", "help": "Original text/code snippet before changes.", "type": "string", "maxLength": 1000000, "default": "" }, { "key": "after_code", "label": "After Code", "help": "Modified text/code snippet after changes.", "type": "string", "maxLength": 1000000, "default": "" }, { "key": "file_path", "label": "File Path", "help": "The file name/path header to put in the generated patch file.", "type": "string", "maxLength": 256, "default": "file.txt" } ], "outputs": [ { "key": "patch_content", "label": "Patch File Content", "type": "string", "render": "code" }, { "key": "files_count", "label": "Files Changed", "type": "integer" }, { "key": "insertions", "label": "Insertions (+)", "type": "integer" }, { "key": "deletions", "label": "Deletions (-)", "type": "integer" }, { "key": "summary", "label": "Diff Summary", "type": "string" }, { "key": "apply_command", "label": "Apply Command", "type": "string", "render": "code" }, { "key": "filename", "label": "Default Filename", "type": "string" } ], "endpoint": "/v1/programming-dev/git-diff-to-file" }