8000 GitHub - arey/javaetmoi-initializr: Custom Spring Boot Initializr supporting OpenAPI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arey/javaetmoi-initializr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java&Moi Initializr

Java CI with Maven

Custom Spring Boot Initializr illustrating the openapi-generator-maven-plugin configuration to provide a Spring MVC REST API from an OpenAPI 3 Specification and test it with Swagger UI.

Prerequisites

The following items should be installed in your system:

Run the service

git clone https://github.com/arey/javaetmoi-initializr.git
cd javaetmoi-initializr
./mvnw package
java -jar target/javaetmoi-initializr-1.0.0-SNAPSHOT.jar 

Use the service from IntelliJ

  • Start IntelliJ IDEA
  • Open the menu File -> New -> Project
  • Select Spring Initializr
  • Change the server URL from https://start.spring.io to http://localhost:9090
  • Follow the wizard project creation
    • Select the Web and OpenAPI dependencies
  • Open the new project as Maven project
  • Generate Sources and Update Folders for All Project in the Maven view
  • Start the DemoApplication main class
  • In your browser, open the URL http://localhost:8080
  • Play with the Swagger UI

About

Custom Spring Boot Initializr supporting OpenAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0