Package io.openapiparser.model.v31
Interface Reference
-
public interface Referencethe Reference object.See specification: 4.8.23 Reference Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.lang.StringgetDescription()java.lang.StringgetRef()$ref value.@Nullable java.lang.StringgetSummary()booleanisRef()check if this is a $ref object.
-
-
-
Method Detail
-
isRef
boolean isRef()
check if this is a $ref object.- Returns:
- true if $ref else false.
-
getRef
@Required java.lang.String getRef()
- Returns:
- ref
- Throws:
io.openapiprocessor.jsonschema.converter.NoValueException- ifisRef()is false // todo do not throw, let getRefObject() throw
-
getSummary
@Nullable java.lang.String getSummary()
-
getDescription
@Nullable java.lang.String getDescription()
-
-