Skip to content

bnasslahsen/twitter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springdoc-openapi demo with spring-boot-2 web-flux

Building application

Pre-requisites

  • JDK 8+
  • maven 3
  • docker CLI

Option 1: Building Executable JAR

To create an executable jar, simply run:

 mvn clean package

Option 2: Building a non-native OCI Images

To create a non-native OCI docker image, simply run:

mvn clean spring-boot:build-image

Option 3: Building native image with GraalVM

To create a native image, the project rely on spring-native project and buildpacks. Run the following command

mvn -Pnative-image clean spring-boot:build-image

Running the native application

To run the demo using docker, invoke the following:

docker pull springdocdemos/springdoc-openapi-spring-boot-2-webflux:latest
docker run --rm -p 8080:8080 springdocdemos/springdoc-openapi-spring-boot-2-webflux:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published