Class GenkitSpringApplication

java.lang.Object
com.google.genkit.plugins.spring.GenkitSpringApplication

@SpringBootApplication public class GenkitSpringApplication extends Object
Spring Boot application class for Genkit.

This class is the entry point for Spring Boot auto-configuration and component scanning for the Genkit Spring plugin.

  • Constructor Details

    • GenkitSpringApplication

      public GenkitSpringApplication()
  • Method Details

    • objectMapper

      @Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
      Creates an ObjectMapper bean for JSON serialization.
      Returns:
      the ObjectMapper
    • genkitFlowController

      @Bean public GenkitFlowController genkitFlowController(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Creates the Genkit flow controller bean.
      Parameters:
      objectMapper - the ObjectMapper for JSON serialization
      Returns:
      the flow controller