swagger-samples

(β˜… 544)

Samples for the various Swagger projects under swagger-api

  • .gitignore
  • LICENSE
  • pom.xml
  • README.md

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/swagger-api/swagger-samples

Downloads the entire project code from GitHub to your computer.

cd swagger-samples

Moves into the project folder you just downloaded.

2. Maven (Java)

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java projects.
  • Maven The build tool used for the mvn command.
cd java/inflector-dropwizard-guice

This project's files live in a subfolder, so move into it first.

mvn clean install

Installs dependencies and builds the project using Maven.

βœ… A BUILD SUCCESS message means it worked. The output is created under target/.

3. Gradle (Java/Kotlin)

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java/Kotlin projects.
  • Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd java/inflector-springboot-jersey

This project's files live in a subfolder, so move into it first.

./gradlew build

Builds the project using Gradle.

βœ… A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation