Skip to content

Generic-Application-Bootstrapper/Api

Repository files navigation

First Time Setup Locally

Run:

    git submodule update --init --recursive
    git submodule update --init --recursive

to get the schema submodules and any others that may exist then do

    mvn compile

to create target files such as the application jar.

#To Run the API

    mvn spring-boot:run

will start spring-boot. There are three options for starting the application each should be identical and should be undated to only have one. Within an IDE such as Intellij or Eclipse: com.entry.Application.java, org.openapitools.OpenApiGeneratorApplication.java, and org.openapitools.OpenAPI2SpringBoot.java all function as main functions to start the application.

See the DockerFile to what the docker virtual environment uses, though the virtual environment shouldn't be necessary.

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 an 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published