Class PathItem


  • public class PathItem
    extends Object
    PathItem
    See Also:
    "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#path-item-object", "https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#path-item-object"
    • Constructor Detail

      • PathItem

        public PathItem()
    • Method Detail

      • getSummary

        public String getSummary()
        returns the summary property from a PathItem instance.
        Returns:
        String summary
      • setSummary

        public void setSummary​(String summary)
      • getDescription

        public String getDescription()
        returns the description property from a PathItem instance.
        Returns:
        String description
      • setDescription

        public void setDescription​(String description)
      • getGet

        public Operation getGet()
        returns the get property from a PathItem instance.
        Returns:
        Operation get
      • setGet

        public void setGet​(Operation get)
      • getPut

        public Operation getPut()
        returns the put property from a PathItem instance.
        Returns:
        Operation put
      • setPut

        public void setPut​(Operation put)
      • getPost

        public Operation getPost()
        returns the post property from a PathItem instance.
        Returns:
        Operation post
      • setPost

        public void setPost​(Operation post)
      • getDelete

        public Operation getDelete()
        returns the delete property from a PathItem instance.
        Returns:
        Operation delete
      • setDelete

        public void setDelete​(Operation delete)
      • getOptions

        public Operation getOptions()
        returns the options property from a PathItem instance.
        Returns:
        Operation options
      • setOptions

        public void setOptions​(Operation options)
      • getHead

        public Operation getHead()
        returns the head property from a PathItem instance.
        Returns:
        Operation head
      • setHead

        public void setHead​(Operation head)
      • getPatch

        public Operation getPatch()
        returns the patch property from a PathItem instance.
        Returns:
        Operation patch
      • setPatch

        public void setPatch​(Operation patch)
      • getTrace

        public Operation getTrace()
        returns the trace property from a PathItem instance.
        Returns:
        Operation trace
      • setTrace

        public void setTrace​(Operation trace)
      • getServers

        public List<Server> getServers()
        returns the servers property from a PathItem instance.
        Returns:
        List<Server> servers
      • setServers

        public void setServers​(List<Server> servers)
      • addServersItem

        public PathItem addServersItem​(Server serversItem)
      • getParameters

        public List<Parameter> getParameters()
        returns the parameters property from a PathItem instance.
        Returns:
        List<Parameter> parameters
      • setParameters

        public void setParameters​(List<Parameter> parameters)
      • addParametersItem

        public PathItem addParametersItem​(Parameter parametersItem)
      • addExtension

        public void addExtension​(String name,
                                 Object value)
      • addExtension31

        public void addExtension31​(String name,
                                   Object value)
      • setExtensions

        public void setExtensions​(Map<String,​Object> extensions)
      • get$ref

        public String get$ref()
        returns the ref property from a PathItem instance.
        Returns:
        String ref
      • set$ref

        public void set$ref​(String $ref)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object