generate_gitignore
Create a .gitignore file for your project by selecting templates for programming languages and development environments to exclude unnecessary files from version control.
Instructions
Generate a .gitignore file based on specified templates and save it to the specified path
Responses:
200 (Success): Successful Response
Content-Type:
application/jsonResponse Properties:
success: Whether the operation was successful
message: Status message
content: Generated .gitignore content
Example:
{
"success": true,
"message": "string",
"content": "string"
}
422: Validation Error
Content-Type:
application/jsonResponse Properties:
Example:
{
"detail": [
"unknown_type"
]
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templates | Yes | List of template names to generate .gitignore for (e.g., 'python', 'node', 'visualstudiocode') |