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 the
Paths OpenAPI model interface.-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.openapi.models.PathsaddPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item) booleancontainsKey(Object key) org.eclipse.microprofile.openapi.models.PathItemgetMap()org.eclipse.microprofile.openapi.models.PathItemvoidorg.eclipse.microprofile.openapi.models.PathItemvoidremovePathItem(String name) voidvoidsetPathItems(Map<String, org.eclipse.microprofile.openapi.models.PathItem> items) Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensionsMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface io.smallrye.openapi.api.models.MapModel
clear, containsValue, entrySet, invoke, invokeFunction, isEmpty, keySet, size, valuesMethods inherited from interface org.eclipse.microprofile.openapi.models.Paths
getPathItem, hasPathItem
-
Constructor Details
-
PathsImpl
public PathsImpl()
-
-
Method Details
-
addPathItem
public org.eclipse.microprofile.openapi.models.Paths addPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item) - Specified by:
addPathItemin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
-
Paths.addPathItem(java.lang.String, org.eclipse.microprofile.openapi.models.PathItem)
-
removePathItem
- Specified by:
removePathItemin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
-
Paths.removePathItem(java.lang.String)
-
getPathItems
- Specified by:
getPathItemsin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
-
Paths.getPathItems()
-
setPathItems
- Specified by:
setPathItemsin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
-
Paths.setPathItems(java.util.Map)
-
getMap
-
setMap
-
get
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,org.eclipse.microprofile.openapi.models.PathItem> - Specified by:
containsKeyin 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
-
remove
-