Package gov.niem.tools.api
Class Application
java.lang.Object
gov.niem.tools.api.Application
Commonly used functionality for NIEM supported tools.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPI
Set basic OpenAPI information for the project.static void
Runs the REST API and backend.
-
Constructor Details
-
Application
public Application()
-
-
Method Details
-
main
Runs the REST API and backend. -
customOpenApi
@Bean public io.swagger.v3.oas.models.OpenAPI customOpenApi()Set basic OpenAPI information for the project. This setup allows the version to be injected from build.gradle.- Returns:
- - An OpenAPI object configured with NIEM API defaults.
-