- GraalVM 22.2.0 / JDK 11
- Swagger UI
To create an executable jar, execute:
mvn clean package
or
./gradlew clean build
java -jar target/springdoc-openapi-demo-3.1.6-SNAPSHOT-spring-boot.jar
or
java -jar build/libs/springdoc-openapi-demo-3.1.6-SNAPSHOT.jar
To create a native image
, execute the following command
mvn package -Pnative
or
./gradlew nativeCompile
To run the demo, execute the following:
target/springdoc-openapi-demo
or
build/native/nativeCompile/springdoc-openapi-demo
docker run --rm -p 80:8080 swaggerapi/swagger-ui
Open the Swagger UI by browsing to http://localhost:8082/