{"id":30988462,"url":"https://github.com/td99/spring-boot-openapi-generator","last_synced_at":"2025-09-12T17:44:03.809Z","repository":{"id":313641850,"uuid":"1051824677","full_name":"TD99/spring-boot-openapi-generator","owner":"TD99","description":"Spring Boot 3 project demonstrating OpenAPI Generator with delegate pattern","archived":false,"fork":false,"pushed_at":"2025-09-07T13:22:26.000Z","size":23,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-07T15:19:49.660Z","etag":null,"topics":["demo","java","jpa","openapi-generator","rest-api","spring-boot-3","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Java","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/TD99.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":"2025-09-06T19:49:37.000Z","updated_at":"2025-09-07T13:22:30.000Z","dependencies_parsed_at":"2025-09-07T15:19:51.516Z","dependency_job_id":"17e62bf5-3c26-4b20-8cb8-3688f3b63fc8","html_url":"https://github.com/TD99/spring-boot-openapi-generator","commit_stats":null,"previous_names":["td99/spring-boot-openapi-generator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TD99/spring-boot-openapi-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Fspring-boot-openapi-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Fspring-boot-openapi-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Fspring-boot-openapi-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Fspring-boot-openapi-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TD99","download_url":"https://codeload.github.com/TD99/spring-boot-openapi-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Fspring-boot-openapi-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274848309,"owners_count":25360981,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["demo","java","jpa","openapi-generator","rest-api","spring-boot-3","swagger-ui"],"created_at":"2025-09-12T17:44:02.912Z","updated_at":"2025-09-12T17:44:03.794Z","avatar_url":"https://github.com/TD99.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI Generator Example\nThis project demonstrates how to use **OpenAPI Generator** with **Spring Boot 3**, **JPA**, and **Springdoc OpenAPI** to\nbuild a simple REST API for managing TODOs. It uses the delegate pattern to separate generated code from custom business\nlogic.\n\n## Features\n- OpenAPI 3.0 specification-driven development\n- Automatic Spring Boot controller \u0026 DTO generation\n- Delegate pattern for business logic separation\n- JPA \u0026 H2 in-memory database integration\n- Spring Validation support\n- Swagger UI for API exploration\n\n## Getting Started\n### Prerequisites\n- Java 21+\n- Maven 3.9+\n\n### Build \u0026 Run\n```bash\n# Generate code from OpenAPI spec\nmvn clean compile\n\n# Run the application\nmvn spring-boot:run\n```\n\n### API Endpoints\n- `GET /todos` → List all todos\n- `POST /todos` → Create a new todo\n- `GET /todos/{id}` → Get a todo by ID\n- `PUT /todos/{id}` → Update a todo\n- `PATCH /todos/{id}` → Patch a todo\n- `DELETE /todos/{id}` → Delete a todo\n\n\u003e You may also import the [openapi.yaml](src/main/resources/openapi.yaml) file into your OpenAPI client such as Postman.\n\n### Management Endpoints\n- Swagger UI: [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html)\n- OpenAPI spec: [http://localhost:8080/v3/api-docs](http://localhost:8080/v3/api-docs)\n- H2 Console: [http://localhost:8080/h2-console](http://localhost:8080/h2-console)\n\n### H2 Credentials\n- Username: `sa`\n- Password: `\u003cempty\u003e`\n\n## License\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftd99%2Fspring-boot-openapi-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftd99%2Fspring-boot-openapi-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftd99%2Fspring-boot-openapi-generator/lists"}