Class ExternalModelRegistry
java.lang.Object
io.github.blueprintplatform.openapi.generics.codegen.ExternalModelRegistry
Holds mappings between OpenAPI model names and external Java types (FQCN).
Used to prevent generation of shared contract models and reference them instead.
Configuration format:
openapiGenerics.externalModel.CustomerDto=io.example.contract.CustomerDto
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExternalModelRegistry
public ExternalModelRegistry()
-
-
Method Details
-
register
Registers external models from generator additionalProperties. -
isExternal
- Returns:
- true if model is externally provided
-
getFqcn
- Returns:
- fully-qualified class name or null
-