| Package | Description |
|---|---|
| io.swagger.codegen.v3 | |
| io.swagger.codegen.v3.utils |
| Modifier and Type | Field and Description |
|---|---|
CodegenModel |
CodegenModel.parentModel |
| Modifier and Type | Field and Description |
|---|---|
List<CodegenModel> |
CodegenModel.children |
List<CodegenModel> |
CodegenModel.interfaceModels |
List<CodegenModel> |
CodegenModel.subTypes |
| Modifier and Type | Method and Description |
|---|---|
CodegenModel |
CodegenModel.addSubType(CodegenModel subType) |
CodegenModel |
CodegenConfig.fromModel(String name,
io.swagger.v3.oas.models.media.Schema schema) |
CodegenModel |
CodegenConfig.fromModel(String name,
io.swagger.v3.oas.models.media.Schema schema,
Map<String,io.swagger.v3.oas.models.media.Schema> allDefinitions) |
CodegenModel |
CodegenSchema.getCodegenModel() |
CodegenModel |
CodegenModel.getParentModel() |
| Modifier and Type | Method and Description |
|---|---|
List<CodegenModel> |
CodegenModel.getChildren() |
List<CodegenModel> |
CodegenModel.getInterfaceModels() |
List<CodegenModel> |
ISchemaHandler.getModels()
retrieve a list of codegen models created from composed schemas found.
|
List<CodegenModel> |
CodegenModel.getSubTypes() |
| Modifier and Type | Method and Description |
|---|---|
CodegenModel |
CodegenModel.addSubType(CodegenModel subType) |
void |
CodegenConfig.postProcessModelProperty(CodegenModel model,
CodegenProperty property) |
void |
ISchemaHandler.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.
|
void |
CodegenModel.setParentModel(CodegenModel parentModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
ISchemaHandler.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.
|
void |
CodegenModel.setChildren(List<CodegenModel> children) |
void |
CodegenModel.setInterfaceModels(List<CodegenModel> interfaceModels) |
void |
CodegenModel.setSubTypes(List<CodegenModel> subTypes) |
| Constructor and Description |
|---|
CodegenSchema(CodegenModel codegenModel,
io.swagger.v3.oas.models.media.Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
static CodegenModel |
ModelUtils.getModelByName(String name,
Map<String,Object> models)
Searches for the model by name in the map of models and returns it
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ModelUtils.processCodegenModels(Map<String,CodegenModel> allModels) |
Copyright © 2021. All rights reserved.