ahannigan / swagger-java-api

Starting point for building Java APIs with Swagger Codegen Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger Java API

This is boilerplate setup for building APIs from a given Swagger Definition. It uses the Swagger Codegen Maven Plugin to generate the web.xml, bootstrap, controller, and model classes needed

Running

Docker

Generate sources and war:

$ docker-compose up build-war

Run API (inside tomcat container):

$ docker-compose up api

Re-builds of war should be automatically picked up and deployed by a running API container.

Non-docker

Generate sources and war

mvn clean package

About

Starting point for building Java APIs with Swagger Codegen Maven Plugin


Languages

Language:Java 86.5%Language:Gherkin 13.5%