{"id":36618040,"url":"https://github.com/yonatankarp/openapi-usage-example","last_synced_at":"2026-01-12T09:15:18.422Z","repository":{"id":37986405,"uuid":"438659045","full_name":"yonatankarp/openapi-usage-example","owner":"yonatankarp","description":"An example of how to use OpenAPI, SpringBoot, Gradle and Kotlin to build RESTful API as described in https://yonatankarp.com/how-to-write-robust-rest-api-with-openapi","archived":false,"fork":false,"pushed_at":"2025-12-29T01:03:59.000Z","size":536,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T19:37:36.581Z","etag":null,"topics":["gradle","kotlin","openapi"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yonatankarp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/codeowners","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":"2021-12-15T14:29:00.000Z","updated_at":"2025-12-29T01:04:02.000Z","dependencies_parsed_at":"2023-09-25T04:22:17.832Z","dependency_job_id":"c5bde606-6630-4c5f-8254-4d30a8ab5b97","html_url":"https://github.com/yonatankarp/openapi-usage-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yonatankarp/openapi-usage-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonatankarp%2Fopenapi-usage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonatankarp%2Fopenapi-usage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonatankarp%2Fopenapi-usage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonatankarp%2Fopenapi-usage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonatankarp","download_url":"https://codeload.github.com/yonatankarp/openapi-usage-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonatankarp%2Fopenapi-usage-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":["gradle","kotlin","openapi"],"created_at":"2026-01-12T09:15:17.100Z","updated_at":"2026-01-12T09:15:18.416Z","avatar_url":"https://github.com/yonatankarp.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenApi Usage Example\n\nThis repository contains the codebase that was used in the article\n[How to Write a Robust REST API with OpenAPI](https://yonatankarp.com/blog/how-to-write-a-robust-rest-api-with-openapi) in the blog\n[yonatankarp.com](https://yonatankarp.com).\n\n## How to run\n\nTo build the project using Gradle run the following command in the project\nroot directory:\n\n```shell\n$ ./gradlew build\n```\n\nOnce the project was successfully build, run the service with the following\ncommand:\n\n```shell\n$ ./gradlew bootRun\n```\n\nWhen the service runs, you can call it with the following example:\n\n```shell\n$ curl \"http://localhost:8080/v1/greet?name=Yonatan\"\n```\n\nResponse example:\n\n```json\n{\"greet\":\"Hello, yonatan!\"}\n```\n\n## Built With\n\n- [OpenJdk 17](https://openjdk.java.net/projects/jdk/17/)\n- [Kotlin](https://kotlinlang.org/)\n- [OpenAPI](https://www.openapis.org/) - API Spec\n- [SpringBoot 3.x.x](https://spring.io/projects/spring-boot) - The web framework used\n- [Gradle Kotlin DSL](https://gradle.org/) - Dependency Management\n\n## Authors\n\n- **Yonatan Karp-Rudin** - *Initial work* - [yonatankarp](https://github.com/yonatankarp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonatankarp%2Fopenapi-usage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonatankarp%2Fopenapi-usage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonatankarp%2Fopenapi-usage-example/lists"}