{"id":31105954,"url":"https://github.com/bright/patchy","last_synced_at":"2026-04-07T04:32:07.318Z","repository":{"id":77452364,"uuid":"57994849","full_name":"bright/patchy","owner":"bright","description":"A Spring method argument resolver that is suitable for PATCH handling combined with validation","archived":false,"fork":false,"pushed_at":"2016-05-05T07:12:34.000Z","size":73,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-17T04:49:25.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bright.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-05-03T19:11:26.000Z","updated_at":"2022-04-04T13:53:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"46760fe9-9400-4923-a8b2-201a800e93da","html_url":"https://github.com/bright/patchy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bright/patchy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright%2Fpatchy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright%2Fpatchy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright%2Fpatchy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright%2Fpatchy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bright","download_url":"https://codeload.github.com/bright/patchy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright%2Fpatchy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-17T04:48:41.118Z","updated_at":"2026-04-07T04:32:07.312Z","avatar_url":"https://github.com/bright.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# patchy\nA Spring method argument resolver that is suitable for [PATCH](https://tools.ietf.org/html/rfc5789) handling combined with validation.\n\nThis simple library let's you apply client provided changes to an entity while at the same time keep the benefits of request validation:\n\n```\nclass Request : PatchyRequest {\n    @get:NotBlank\n    val firstName:String? by { _changes }\n\n    @get:NotBlank\n    val lastName:String? by { _changes }\n    \n    override var _changes = mapOf\u003cString,Any?\u003e()\n}\n\n@RestController\nclass PatchingCtrl {\n    @RequestMapping(\"/\", method = arrayOf(RequestMethod.PATCH))\n    fun update(@Valid request: Request){\n        request.applyChangesTo(entity)\n    }\n}\n```\n\n## Setup\n\n`build.gradle`:\n\n```\nrepositories {\n    jcenter()\n    maven { url \"https://jitpack.io\" }\n}\n\ndependencies {\n    compile 'com.github.bright:patchy:v0.1.0'\n    ...\n}\n```\n\nThen import the configuration with: \n```\n@SpringBootApplication\n@EnableWebMvc\n@Import(PatchyConfiguration::class)\nopen class Application {\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright%2Fpatchy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbright%2Fpatchy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright%2Fpatchy/lists"}