Package io.openapiparser.model.v30
Class PathItem
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v30.PathItem
-
- All Implemented Interfaces:
Extensions,Reference
public class PathItem extends Properties implements Reference, Extensions
the Path Item object.See specification: 4.7.9 Path Item Object
-
-
Field Summary
-
Fields inherited from class io.openapiparser.Properties
bucket, context
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable OperationgetDelete()@Nullable java.lang.StringgetDescription()java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.@Nullable OperationgetGet()@Nullable OperationgetHead()@Nullable OperationgetOptions()java.util.Collection<Parameter>getParameters()@Nullable OperationgetPatch()@Nullable OperationgetPost()@Nullable OperationgetPut()java.lang.StringgetRef()$ref value.PathItemgetRefObject()java.util.Collection<Server>getServers()@Nullable java.lang.StringgetSummary()@Nullable OperationgetTrace()booleanisRef()check if this is a $ref object.-
Methods inherited from class io.openapiparser.Properties
getBooleanOrDefault, getBooleanOrFalse, getBooleanOrNull, getIntegerOrDefault, getIntegerOrNull, getMapObjectsOrEmpty, getMapObjectsOrEmpty, getMapSetStringsOrEmpty, getMapStringsOrEmpty, getNumberOrNull, getObjectOrNull, getObjectOrThrow, getObjectsOrEmpty, getRawValue, getRawValueOf, getRefObject, getRefObjectOrThrow, getStringOrNull, getStringOrThrow, getStringsOrEmpty, getStringsOrNull, getValueOf, hasProperty
-
-
-
-
Constructor Detail
-
PathItem
public PathItem(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
isRef
public boolean isRef()
Description copied from interface:Referencecheck if this is a $ref object.
-
getRef
public java.lang.String getRef()
Description copied from interface:Reference$ref value. Should be guarded byReference.isRef(). Throws ifReference.isRef()is false.
-
getRefObject
public PathItem getRefObject()
-
getSummary
public @Nullable java.lang.String getSummary()
-
getDescription
public @Nullable java.lang.String getDescription()
-
getGet
public @Nullable Operation getGet()
-
getPut
public @Nullable Operation getPut()
-
getPost
public @Nullable Operation getPost()
-
getDelete
public @Nullable Operation getDelete()
-
getOptions
public @Nullable Operation getOptions()
-
getHead
public @Nullable Operation getHead()
-
getPatch
public @Nullable Operation getPatch()
-
getTrace
public @Nullable Operation getTrace()
-
getServers
public java.util.Collection<Server> getServers()
-
getParameters
public java.util.Collection<Parameter> getParameters()
-
getExtensions
public java.util.Map<java.lang.String,java.lang.Object> getExtensions()
Description copied from interface:Extensionsmap of all extension properties.- Specified by:
getExtensionsin interfaceExtensions- Overrides:
getExtensionsin classProperties- Returns:
- map of extension properties
-
-