| Package | Description |
|---|---|
| org.openapitools.codegen | |
| org.openapitools.codegen.languages | |
| org.openapitools.codegen.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
CodegenModel
CodegenModel represents a schema object in a OpenAPI document.
|
class |
CodegenParameter
Describes a single operation parameter in the OAS specification.
|
class |
CodegenProperty |
class |
CodegenResponse |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCodegen.addImports(CodegenModel m,
IJsonSchemaValidationProperties type) |
protected void |
DefaultCodegen.addImports(Set<String> importsToBeAddedTo,
IJsonSchemaValidationProperties type) |
protected void |
DefaultCodegen.addRequiredVarsMap(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties property) |
protected void |
DefaultCodegen.addVars(IJsonSchemaValidationProperties m,
List<CodegenProperty> vars,
Map<String,io.swagger.v3.oas.models.media.Schema> properties,
Set<String> mandatory)
Add variables (properties) to codegen model (list of properties, various flags, etc)
|
protected void |
DefaultCodegen.addVarsRequiredVarsAdditionalProps(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties property) |
protected void |
DefaultCodegen.setAddProps(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties property) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PythonClientCodegen.addVarsRequiredVarsAdditionalProps(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties property) |
protected void |
PythonClientCodegen.setAddProps(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties property)
Use cases:
additional properties is unset: do nothing
additional properties is true: add definition to property
additional properties is false: add definition to property
additional properties is schema: add definition to property
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ModelUtils.syncValidationProperties(io.swagger.v3.oas.models.media.Schema schema,
IJsonSchemaValidationProperties target) |
Copyright © 2023. All rights reserved.