Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 854 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 854 Bytes

OpenAPI generated server

Spring Boot Server

Overview

This server was generated by the OpenAPI Generator project. By using the OpenAPI-Spec, you can easily generate a server stub. This is an example of building a OpenAPI-enabled server in Java using the SpringBoot framework.

The underlying library integrating OpenAPI to SpringBoot is springfox

Start your server as a simple java application

You can view the api documentation in swagger-ui by pointing to
http://localhost:8080/

Change default port value in application.properties

Building

The openapi-generator-maven-plugin can be used to regenerate the files

Build (Includes regeneration)

mvn clean install

Generate Resources

mvn generate resources