Class PathsImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<String,​org.eclipse.microprofile.openapi.models.PathItem>, NavigableMap<String,​org.eclipse.microprofile.openapi.models.PathItem>, SortedMap<String,​org.eclipse.microprofile.openapi.models.PathItem>, org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>, org.eclipse.microprofile.openapi.models.Paths

    public class PathsImpl
    extends ExtensibleTreeMap<org.eclipse.microprofile.openapi.models.PathItem,​org.eclipse.microprofile.openapi.models.Paths>
    implements org.eclipse.microprofile.openapi.models.Paths
    See Also:
    Serialized Form
    • Constructor Detail

      • PathsImpl

        public PathsImpl()
      • PathsImpl

        public PathsImpl​(Map<String,​? extends org.eclipse.microprofile.openapi.models.PathItem> items)
    • Method Detail

      • addPathItem

        public org.eclipse.microprofile.openapi.models.Paths addPathItem​(String name,
                                                                         org.eclipse.microprofile.openapi.models.PathItem item)
        Specified by:
        addPathItem in interface org.eclipse.microprofile.openapi.models.Paths
      • removePathItem

        public void removePathItem​(String name)
        Specified by:
        removePathItem in interface org.eclipse.microprofile.openapi.models.Paths
      • getPathItems

        public Map<String,​org.eclipse.microprofile.openapi.models.PathItem> getPathItems()
        Specified by:
        getPathItems in interface org.eclipse.microprofile.openapi.models.Paths
      • setPathItems

        public void setPathItems​(Map<String,​org.eclipse.microprofile.openapi.models.PathItem> items)
        Specified by:
        setPathItems in interface org.eclipse.microprofile.openapi.models.Paths
      • merge

        public static void merge​(org.eclipse.microprofile.openapi.models.Paths from,
                                 org.eclipse.microprofile.openapi.models.Paths to,
                                 boolean override)