Class Application

java.lang.Object
gov.niem.tools.api.Application

@SpringBootApplication @EnableJpaRepositories public class Application extends Object
Commonly used functionality for NIEM supported tools.
  • Constructor Details

    • Application

      public Application()
  • Method Details

    • main

      public static void main(String[] args)
      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.