Package io.swagger.codegen.v3
Interface ISchemaHandler
public interface ISchemaHandler
-
Method Summary
Modifier and TypeMethodDescriptionretrieve a list of codegen models created from composed schemas found.voidprocessComposedSchemas(CodegenModel codegenModel, io.swagger.v3.oas.models.media.Schema schema, Map<String, CodegenModel> allModels) check if there is any composed schema in models or properties.default voidreadProcessedModels(Map<String, Object> allProcessedModels)
-
Method Details
-
readProcessedModels
-
processComposedSchemas
void processComposedSchemas(CodegenModel codegenModel, io.swagger.v3.oas.models.media.Schema schema, Map<String, CodegenModel> allModels) check if there is any composed schema in models or properties. And create codegen model objects if it's required.- Parameters:
codegenModel-schema-
-
getModels
List<CodegenModel> getModels()retrieve a list of codegen models created from composed schemas found.- Returns:
-