{"agent":"claude","input":"Add request validation to this Vapor API and open a pull request. Read Package.swift, Sources/App/configure.swift, Sources/App/routes.swift, Sources/App/Controllers/TodoController.swift, Sources/App/DTOs/TodoDTO.swift, Sources/App/Models/Todo.swift, Sources/App/Migrations/CreateTodo.swift and Tests/AppTests/AppTests.swift first. Make TodoDTO conform to Validatable with a required title that is a non-empty String with a sensible maximum length matching the column. In TodoController.create call TodoDTO.validate(content:) before decoding so a bad body answers 400 through the default ErrorMiddleware with the failing key and reason. Validate the todoID path parameter on delete so a non-UUID answers 400. Do not change the model, the migration or the GET route. Add tests to Tests/AppTests/AppTests.swift in the existing Swift Testing style using withApp: an empty title, a missing title and an over-long title each answer badRequest and leave the todos table empty, and a valid body still answers ok. Run swift build and swift test, start the server and send the three bad bodies with curl, and paste the test output and the curl responses in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}