Class OpenAPIUtil
- java.lang.Object
-
- io.swagger.codegen.v3.generators.util.OpenAPIUtil
-
public class OpenAPIUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description OpenAPIUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddPropertiesFromRef(io.swagger.v3.oas.models.OpenAPI openAPI, io.swagger.v3.oas.models.media.Schema refSchema, io.swagger.codegen.v3.CodegenProperty codegenProperty)static io.swagger.v3.oas.models.media.SchemagetPropertyFromAllOfSchema(String propertyName, List<io.swagger.v3.oas.models.media.Schema> schemas, io.swagger.v3.oas.models.OpenAPI openAPI)static io.swagger.v3.oas.models.media.SchemagetRefSchemaIfExists(io.swagger.v3.oas.models.media.Schema schema, io.swagger.v3.oas.models.OpenAPI openAPI)static io.swagger.v3.oas.models.media.SchemagetSchemaFromName(String name, io.swagger.v3.oas.models.OpenAPI openAPI)static io.swagger.v3.oas.models.media.SchemagetSchemaFromRefSchema(io.swagger.v3.oas.models.media.Schema refSchema, io.swagger.v3.oas.models.OpenAPI openAPI)static StringgetSimpleRef(String ref)
-
-
-
Method Detail
-
addPropertiesFromRef
public static void addPropertiesFromRef(io.swagger.v3.oas.models.OpenAPI openAPI, io.swagger.v3.oas.models.media.Schema refSchema, io.swagger.codegen.v3.CodegenProperty codegenProperty)
-
getSchemaFromName
public static io.swagger.v3.oas.models.media.Schema getSchemaFromName(String name, io.swagger.v3.oas.models.OpenAPI openAPI)
-
getRefSchemaIfExists
public static io.swagger.v3.oas.models.media.Schema getRefSchemaIfExists(io.swagger.v3.oas.models.media.Schema schema, io.swagger.v3.oas.models.OpenAPI openAPI)
-
getSchemaFromRefSchema
public static io.swagger.v3.oas.models.media.Schema getSchemaFromRefSchema(io.swagger.v3.oas.models.media.Schema refSchema, io.swagger.v3.oas.models.OpenAPI openAPI)
-
-