Package io.swagger.codegen.v3
Interface ISchemaHandler
-
public interface ISchemaHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<CodegenModel>getModels()retrieve 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 Detail
-
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:
-
-