Package io.smallrye.openapi.api.models
Class PathsImpl
- java.lang.Object
-
- io.smallrye.openapi.api.models.ExtensibleImpl<org.eclipse.microprofile.openapi.models.Paths>
-
- io.smallrye.openapi.api.models.PathsImpl
-
- All Implemented Interfaces:
MapModel<org.eclipse.microprofile.openapi.models.PathItem>
,ModelImpl
,Map<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 ExtensibleImpl<org.eclipse.microprofile.openapi.models.Paths> implements org.eclipse.microprofile.openapi.models.Paths, ModelImpl, MapModel<org.eclipse.microprofile.openapi.models.PathItem>
An implementation of thePaths
OpenAPI model interface.
-
-
Constructor Summary
Constructors Constructor Description PathsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.openapi.models.Paths
addPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item)
boolean
containsKey(Object key)
org.eclipse.microprofile.openapi.models.PathItem
get(Object key)
Map<String,org.eclipse.microprofile.openapi.models.PathItem>
getMap()
Map<String,org.eclipse.microprofile.openapi.models.PathItem>
getPathItems()
org.eclipse.microprofile.openapi.models.PathItem
put(String key, org.eclipse.microprofile.openapi.models.PathItem value)
void
putAll(Map<? extends String,? extends org.eclipse.microprofile.openapi.models.PathItem> m)
org.eclipse.microprofile.openapi.models.PathItem
remove(Object key)
void
removePathItem(String name)
void
setMap(Map<String,org.eclipse.microprofile.openapi.models.PathItem> map)
void
setPathItems(Map<String,org.eclipse.microprofile.openapi.models.PathItem> items)
-
Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensions
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Methods inherited from interface io.smallrye.openapi.api.models.MapModel
clear, containsValue, entrySet, invoke, invokeFunction, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
addPathItem
public org.eclipse.microprofile.openapi.models.Paths addPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item)
- Specified by:
addPathItem
in interfaceorg.eclipse.microprofile.openapi.models.Paths
- See Also:
Paths.addPathItem(java.lang.String, org.eclipse.microprofile.openapi.models.PathItem)
-
removePathItem
public void removePathItem(String name)
- Specified by:
removePathItem
in interfaceorg.eclipse.microprofile.openapi.models.Paths
- See Also:
Paths.removePathItem(java.lang.String)
-
getPathItems
public Map<String,org.eclipse.microprofile.openapi.models.PathItem> getPathItems()
- Specified by:
getPathItems
in interfaceorg.eclipse.microprofile.openapi.models.Paths
- See Also:
Paths.getPathItems()
-
setPathItems
public void setPathItems(Map<String,org.eclipse.microprofile.openapi.models.PathItem> items)
- Specified by:
setPathItems
in interfaceorg.eclipse.microprofile.openapi.models.Paths
- See Also:
Paths.setPathItems(java.util.Map)
-
get
public org.eclipse.microprofile.openapi.models.PathItem get(Object key)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,org.eclipse.microprofile.openapi.models.PathItem>
- Specified by:
containsKey
in interfaceMapModel<org.eclipse.microprofile.openapi.models.PathItem>
-
put
public org.eclipse.microprofile.openapi.models.PathItem put(String key, org.eclipse.microprofile.openapi.models.PathItem value)
-
putAll
public void putAll(Map<? extends String,? extends org.eclipse.microprofile.openapi.models.PathItem> m)
-
-