Class OpenAPILocalReference
- java.lang.Object
-
- com.boomi.connector.openapi.schema.OpenAPILocalReference
-
public class OpenAPILocalReference extends Object
Class to encapsulate parts of "$ref" URL. This class can breakdown individual components and return them through respective getters.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenAPILocalReference
create(String ref)
OpenAPIComponent
getComponentType()
Getter method for componentType part of "$ref" URL.String
getIndex()
Getter method for index part of "$ref" URL.String
getKeyword()
Getter method for composed schema keyword part of "$ref" URL.String
getSchemaName()
Getter method for schemaName part of "$ref" URL.
-
-
-
Method Detail
-
create
public static OpenAPILocalReference create(String ref)
-
getComponentType
public OpenAPIComponent getComponentType()
Getter method for componentType part of "$ref" URL.- Returns:
- componentType part of "$ref"
-
getSchemaName
public String getSchemaName()
Getter method for schemaName part of "$ref" URL.- Returns:
- schema name part of "$ref"
-
getKeyword
public String getKeyword()
Getter method for composed schema keyword part of "$ref" URL. Applicable values are allOf, oneOf, anyOf, not- Returns:
- composed schema keyword part of "$ref" or
null
if not applicable.
-
-