{"id":19001616,"url":"https://github.com/kevcodez/semver-rest-api","last_synced_at":"2026-04-09T20:35:36.855Z","repository":{"id":91719529,"uuid":"96095489","full_name":"kevcodez/semver-rest-api","owner":"kevcodez","description":"Spring Boot Service written in Kotlin to validate version ranges according to semver specification.","archived":false,"fork":false,"pushed_at":"2018-07-02T20:25:48.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T18:33:06.231Z","etag":null,"topics":["coveralls","jacoco","java-8","kotlin","maven","semver","spring-boot","spring-boot-service","springfox","swagger","swagger-ui","travis-ci"],"latest_commit_sha":null,"homepage":"","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/kevcodez.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}},"created_at":"2017-07-03T09:41:42.000Z","updated_at":"2018-07-02T20:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"95388b27-1030-455c-8157-83ae5742f544","html_url":"https://github.com/kevcodez/semver-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevcodez%2Fsemver-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevcodez%2Fsemver-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevcodez%2Fsemver-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevcodez%2Fsemver-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevcodez","download_url":"https://codeload.github.com/kevcodez/semver-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240021021,"owners_count":19735272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["coveralls","jacoco","java-8","kotlin","maven","semver","spring-boot","spring-boot-service","springfox","swagger","swagger-ui","travis-ci"],"created_at":"2024-11-08T18:12:06.540Z","updated_at":"2026-04-09T20:35:31.799Z","avatar_url":"https://github.com/kevcodez.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spring Boot Service written in Kotlin that offers a REST API for semantic versioning, built on [Java SemVer](https://github.com/zafarkhaja/jsemver).\n\n[![Build Status](https://travis-ci.org/kevcodez/semver-rest-api.svg?branch=master)](https://travis-ci.org/kevcodez/semver-rest-api)\n[![Coverage Status](https://coveralls.io/repos/github/kevcodez/semver-rest-api/badge.svg)](https://coveralls.io/github/kevcodez/semver-rest-api)\n\n## Installation\n\n```\ngit clone\nmvn clean install -DskipTests\njava -jar ./target/semver-rest-api.jar\n```\n\nVisit http://localhost:8080/swagger-ui.html for REST API documentation.\n\n## API\n\n### Version information\n\nGET /info/2.1.0-beta\n\n```json\n{\n  \"major\": 2,\n  \"minor\": 1,\n  \"patch\": 0,\n  \"preRelease\": \"beta\",\n  \"normal\": \"2.1.0\"\n}\n```\n\n### Version range validation\n\nPOST /validate\n\n```json\n{\n  \"versionRange\": \"^1.0.0\",\n  \"versionsToValidate\": [\n    \"1.0.0\",\n    \"1.1.0\",\n    \"2.0.0\",\n    \"3.0.0\"\n  ]\n}\n```\n\n```json\n{\n  \"versionRange\": \"^1.0.0\",\n  \"validatedVersions\": {\n    \"2.0.0\": false,\n    \"3.0.0\": false,\n    \"1.0.0\": true,\n    \"1.1.0\": true\n  }\n}\n```\n\n----\n\nGET /validate/1.0.0/inRange/^1.0.0\n=\u003e *200 OK* `true`\n\nGET /validate/2.0.0/inRange/^1.0.0\n=\u003e *200 OK* `false`\n\n### Increment versions\n\nThe API offers endpoints to increment major, minor, patch and pre release version.\n\nGET /increment/major/1.0.0\n\n```json\n{\n  \"major\": 2,\n  \"minor\": 0,\n  \"patch\": 0,\n  \"normal\": \"2.0.0\"\n}\n```\n\n### API documentation\n\nThe API is documented using Swagger. You can access the Swagger-UI on /swagger-ui.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcodez%2Fsemver-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevcodez%2Fsemver-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcodez%2Fsemver-rest-api/lists"}