Class HillaHintsRegistrar

java.lang.Object
dev.hilla.springnative.HillaHintsRegistrar
All Implemented Interfaces:
org.springframework.aot.hint.RuntimeHintsRegistrar

public class HillaHintsRegistrar extends Object implements org.springframework.aot.hint.RuntimeHintsRegistrar
Registers runtime hints for Spring 3 native support for Hilla.
  • Constructor Details

    • HillaHintsRegistrar

      public HillaHintsRegistrar()
  • Method Details

    • registerHints

      public void registerHints(org.springframework.aot.hint.RuntimeHints hints, ClassLoader classLoader)
      Specified by:
      registerHints in interface org.springframework.aot.hint.RuntimeHintsRegistrar
    • parseOpenApi

      public static Set<String> parseOpenApi(String openApiAsText) throws IOException
      Parses the given open api and finds the used custom types.
      Parameters:
      openApiAsText - the open api JSON as text
      Returns:
      a set of custom types used
      Throws:
      IOException - if parsing fails