| Package | Description |
|---|---|
| org.openapitools.codegen |
| Modifier and Type | Method and Description |
|---|---|
protected List<CodegenDiscriminator.MappedModel> |
DefaultCodegen.getAllOfDescendants(String thisSchemaName,
io.swagger.v3.oas.models.OpenAPI openAPI) |
Set<CodegenDiscriminator.MappedModel> |
CodegenDiscriminator.getMappedModels() |
protected List<CodegenDiscriminator.MappedModel> |
DefaultCodegen.getOneOfAnyOfDescendants(String composedSchemaName,
String discPropName,
io.swagger.v3.oas.models.media.ComposedSchema c,
io.swagger.v3.oas.models.OpenAPI openAPI)
This function is only used for composed schemas which have a discriminator
Process oneOf and anyOf models in a composed schema and adds them into
a list if the oneOf and anyOf models contain
the required discriminator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
CodegenDiscriminator.MappedModel.compareTo(CodegenDiscriminator.MappedModel other) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodegenDiscriminator.setMappedModels(Set<CodegenDiscriminator.MappedModel> mappedModels) |
Copyright © 2021. All rights reserved.