{"id":36414236,"url":"https://github.com/mtkhawaja/spring-boot-4-openapi-archetype","last_synced_at":"2026-01-14T01:44:34.816Z","repository":{"id":331902569,"uuid":"1112706853","full_name":"mtkhawaja/spring-boot-4-openapi-archetype","owner":"mtkhawaja","description":"Maven Archetype for generating Spring Boot 4  projects with OpenAPI support.","archived":false,"fork":false,"pushed_at":"2025-12-09T06:28:49.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T18:29:34.056Z","etag":null,"topics":["java-25","maven-archetype","maven4","openapi3","springboot4"],"latest_commit_sha":null,"homepage":"https://mvnrepository.com/artifact/com.muneebkhawaja/spring-boot-4-openapi-archetype","language":"Dockerfile","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/mtkhawaja.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-12-09T01:54:01.000Z","updated_at":"2025-12-10T05:30:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mtkhawaja/spring-boot-4-openapi-archetype","commit_stats":null,"previous_names":["mtkhawaja/spring-boot-4-openapi-archetype"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mtkhawaja/spring-boot-4-openapi-archetype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkhawaja%2Fspring-boot-4-openapi-archetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkhawaja%2Fspring-boot-4-openapi-archetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkhawaja%2Fspring-boot-4-openapi-archetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkhawaja%2Fspring-boot-4-openapi-archetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtkhawaja","download_url":"https://codeload.github.com/mtkhawaja/spring-boot-4-openapi-archetype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkhawaja%2Fspring-boot-4-openapi-archetype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"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":["java-25","maven-archetype","maven4","openapi3","springboot4"],"created_at":"2026-01-11T16:56:24.202Z","updated_at":"2026-01-14T01:44:34.810Z","avatar_url":"https://github.com/mtkhawaja.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-4-openapi-archetype\n\nMaven Archetype for generating basic Java 25 Spring Boot 4 projects with OpenAPI support.\n\n## Getting Started\n\n![Java 25](https://img.shields.io/badge/java-25-orange)\n![Maven 4](https://img.shields.io/badge/maven-4-blue)\n\n### Build\n\n```bash\n#!/usr/bin/env bash\n./mvnw clean install\n```\n\n### Usage\n\n```bash\n#!/usr/bin/env bash\n\nmvn archetype:generate \\\n  -DarchetypeGroupId=\"com.muneebkhawaja\" \\\n  -DarchetypeArtifactId=\"spring-boot-4-openapi-archetype\" \\\n  -DarchetypeVersion=\"1.0.0\" \\\n  -DgroupId=\"com.example\" \\\n  -DartifactId=\"api\" \\\n  -Dpackage=\"com.example.api\" \\\n  -Dversion=\"0.0.1-SNAPSHOT\" \\\n  -B\n\n```\n\nAlternatively, you can use docker and volume binding to generate the project:\n\n```bash\n#!/usr/bin/env bash\n\ndocker build -t mtkhawaja/spring-boot-4-openapi-archetype:latest .\ndocker run \\\n  -v ./:/opt/application/generated \\\n  -e GENERATED_GROUP_ID=\"com.example\" \\\n  -e GENERATED_ARTIFACT_ID=\"api\" \\\n  -e GENERATED_PACKAGE=\"com.example.api\" \\\n  -e GENERATED_VERSION=\"0.0.1-SNAPSHOT\" \\\n  mtkhawaja/spring-boot-4-openapi-archetype:latest\n\n```\n\nThis will generate a project with the following directory structure:\n\n```bash\n#!/usr/bin/env bash\n\ntree -a ./api\n```\n\n```plaintext\n./api\n├── Dockerfile\n├── mvnw\n├── mvnw.cmd\n├── pom.xml\n├── README.md\n├── src\n│   ├── main\n│   │   ├── java\n│   │   │   └── com\n│   │   │       └── example\n│   │   │           └── api\n│   │   │               ├── Application.java\n│   │   │               └── ExampleController.java\n│   │   └── resources\n│   │       ├── application.yaml\n│   │       └── openapi-spec.yaml\n│   └── test\n│       └── java\n│           └── com\n│               └── example\n│                   └── api\n│                       ├── ApplicationSmokeTest.java\n│                       └── ExampleControllerTest.java\n```\n\n## License\n\n[Apache License Version 2.0](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkhawaja%2Fspring-boot-4-openapi-archetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtkhawaja%2Fspring-boot-4-openapi-archetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkhawaja%2Fspring-boot-4-openapi-archetype/lists"}