Package dev.hilla.springnative
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseOpenApi(String openApiAsText) Parses the given open api and finds the used custom types.voidregisterHints(org.springframework.aot.hint.RuntimeHints hints, ClassLoader classLoader)
-
Constructor Details
-
HillaHintsRegistrar
public HillaHintsRegistrar()
-
-
Method Details
-
registerHints
- Specified by:
registerHintsin interfaceorg.springframework.aot.hint.RuntimeHintsRegistrar
-
parseOpenApi
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
-