public class PathsImpl extends LinkedHashMap<String,org.eclipse.microprofile.openapi.models.PathItem> implements org.eclipse.microprofile.openapi.models.Paths, ModelImpl
Paths
OpenAPI model interface.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PathsImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.openapi.models.Paths |
addExtension(String name,
Object value) |
org.eclipse.microprofile.openapi.models.Paths |
addPathItem(String name,
org.eclipse.microprofile.openapi.models.PathItem item) |
Map<String,Object> |
getExtensions() |
Map<String,org.eclipse.microprofile.openapi.models.PathItem> |
getPathItems() |
void |
removeExtension(String name) |
void |
removePathItem(String name) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setPathItems(Map<String,org.eclipse.microprofile.openapi.models.PathItem> items) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsKey, get, getPathItem, hasPathItem, put, putAll, remove
clear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
public Map<String,Object> getExtensions()
getExtensions
in interface org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>
Extensible.getExtensions()
public org.eclipse.microprofile.openapi.models.Paths addExtension(String name, Object value)
addExtension
in interface org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>
Extensible.addExtension(java.lang.String, java.lang.Object)
public void removeExtension(String name)
removeExtension
in interface org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>
Extensible.removeExtension(java.lang.String)
public void setExtensions(Map<String,Object> extensions)
setExtensions
in interface org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>
Extensible.setExtensions(java.util.Map)
public org.eclipse.microprofile.openapi.models.Paths addPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item)
addPathItem
in interface org.eclipse.microprofile.openapi.models.Paths
Paths.addPathItem(java.lang.String,
org.eclipse.microprofile.openapi.models.PathItem)
public void removePathItem(String name)
removePathItem
in interface org.eclipse.microprofile.openapi.models.Paths
Paths.removePathItem(java.lang.String)
public Map<String,org.eclipse.microprofile.openapi.models.PathItem> getPathItems()
getPathItems
in interface org.eclipse.microprofile.openapi.models.Paths
Paths.getPathItems()
Copyright © 2018–2020. All rights reserved.