{"id":15831947,"url":"https://github.com/arey/javaetmoi-initializr","last_synced_at":"2025-03-15T06:32:49.886Z","repository":{"id":41177467,"uuid":"508599735","full_name":"arey/javaetmoi-initializr","owner":"arey","description":"Custom Spring Boot Initializr supporting OpenAPI","archived":false,"fork":false,"pushed_at":"2022-06-29T14:53:41.000Z","size":74,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T12:50:38.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/arey.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":null,"security":null,"support":null}},"created_at":"2022-06-29T08:00:02.000Z","updated_at":"2024-02-17T21:26:49.000Z","dependencies_parsed_at":"2022-09-12T07:50:12.521Z","dependency_job_id":null,"html_url":"https://github.com/arey/javaetmoi-initializr","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/arey%2Fjavaetmoi-initializr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fjavaetmoi-initializr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fjavaetmoi-initializr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arey%2Fjavaetmoi-initializr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arey","download_url":"https://codeload.github.com/arey/javaetmoi-initializr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695454,"owners_count":20332622,"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":[],"created_at":"2024-10-05T12:22:53.172Z","updated_at":"2025-03-15T06:32:49.571Z","avatar_url":"https://github.com/arey.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java\u0026Moi Initializr\r\n\r\n[![Java CI with Maven](https://github.com/arey/javaetmoi-initializr/actions/workflows/maven-build.yml/badge.svg)](https://github.com/arey/javaetmoi-initializr/actions/workflows/maven-build.yml)\r\n\r\nCustom [Spring Boot Initializr](https://github.com/spring-io/initializr) illustrating the `openapi-generator-maven-plugin` configuration to provide \r\na Spring MVC REST API from an OpenAPI 3 Specification and test it with `Swagger UI`.\r\n\r\n## Prerequisites\r\n\r\nThe following items should be installed in your system:\r\n* Java 17+\r\n* Maven 3.6+ (optional if you are using Maven Wrapper)\r\n* Your favorite IDE supporting Spring Initializr\r\n  * [IntelliJ IDEA](https://www.jetbrains.com/idea/)\r\n  * [Eclipse](https://www.eclipse.org/ide/)\r\n  * [VSCode](https://code.visualstudio.com/)\r\n  * [Spring Tools Suite](https://spring.io/tools)\r\n\r\n\r\n## Run the service\r\n\r\n```\r\ngit clone https://github.com/arey/javaetmoi-initializr.git\r\ncd javaetmoi-initializr\r\n./mvnw package\r\njava -jar target/javaetmoi-initializr-1.0.0-SNAPSHOT.jar \r\n```\r\n\r\n## Use the service from IntelliJ\r\n\r\n* Start IntelliJ IDEA\r\n* Open the menu `File -\u003e New -\u003e Project`\r\n* Select `Spring Initializr`\r\n* Change the server URL from `https://start.spring.io` to `http://localhost:9090`\r\n* Follow the wizard project creation\r\n  * Select the `Web` and `OpenAPI` dependencies\r\n* Open the new project as Maven project\r\n* `Generate Sources and Update Folders for All Project` in the `Maven` view\r\n* Start the `DemoApplication` main class\r\n* In your browser, open the URL `http://localhost:8080`\r\n* Play with the Swagger UI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farey%2Fjavaetmoi-initializr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farey%2Fjavaetmoi-initializr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farey%2Fjavaetmoi-initializr/lists"}