public class PathItemImpl extends ExtensibleImpl implements ModelImpl
PathItem
OpenAPI model interface.Constructor and Description |
---|
PathItemImpl() |
Modifier and Type | Method and Description |
---|---|
PathItem |
addParameter(Parameter parameter) |
PathItem |
addServer(Server server) |
PathItem |
DELETE(Operation delete) |
PathItem |
description(String description) |
PathItem |
GET(Operation get) |
Operation |
getDELETE() |
String |
getDescription() |
Operation |
getGET() |
Operation |
getHEAD() |
Operation |
getOPTIONS() |
List<Parameter> |
getParameters() |
Operation |
getPATCH() |
Operation |
getPOST() |
Operation |
getPUT() |
String |
getRef() |
List<Server> |
getServers() |
String |
getSummary() |
Operation |
getTRACE() |
PathItem |
HEAD(Operation head) |
PathItem |
OPTIONS(Operation options) |
PathItem |
parameters(List<Parameter> parameters) |
PathItem |
PATCH(Operation patch) |
PathItem |
POST(Operation post) |
PathItem |
PUT(Operation put) |
List<Operation> |
readOperations() |
Map<HttpMethod,Operation> |
readOperationsMap() |
PathItem |
ref(String ref) |
PathItem |
servers(List<Server> servers) |
void |
setDELETE(Operation delete) |
void |
setDescription(String description) |
void |
setGET(Operation get) |
void |
setHEAD(Operation head) |
void |
setOPTIONS(Operation options) |
void |
setParameters(List<Parameter> parameters) |
void |
setPATCH(Operation patch) |
void |
setPOST(Operation post) |
void |
setPUT(Operation put) |
void |
setRef(String ref) |
void |
setServers(List<Server> servers) |
void |
setSummary(String summary) |
void |
setTRACE(Operation trace) |
PathItem |
summary(String summary) |
PathItem |
TRACE(Operation trace) |
addExtension, getExtensions, setExtensions
public String getRef()
org.eclipse.microprofile.openapi.models.Reference#getRef()
public void setRef(String ref)
org.eclipse.microprofile.openapi.models.Reference#setRef(java.lang.String)
public PathItem ref(String ref)
org.eclipse.microprofile.openapi.models.Reference#ref(java.lang.String)
public String getSummary()
org.eclipse.microprofile.openapi.models.PathItem#getSummary()
public void setSummary(String summary)
org.eclipse.microprofile.openapi.models.PathItem#setSummary(java.lang.String)
public PathItem summary(String summary)
org.eclipse.microprofile.openapi.models.PathItem#summary(java.lang.String)
public String getDescription()
org.eclipse.microprofile.openapi.models.PathItem#getDescription()
public void setDescription(String description)
org.eclipse.microprofile.openapi.models.PathItem#setDescription(java.lang.String)
public PathItem description(String description)
org.eclipse.microprofile.openapi.models.PathItem#description(java.lang.String)
public Operation getGET()
org.eclipse.microprofile.openapi.models.PathItem#getGET()
public void setGET(Operation get)
org.eclipse.microprofile.openapi.models.PathItem#setGET(org.eclipse.microprofile.openapi.models.Operation)
public PathItem GET(Operation get)
org.eclipse.microprofile.openapi.models.PathItem#GET(org.eclipse.microprofile.openapi.models.Operation)
public Operation getPUT()
org.eclipse.microprofile.openapi.models.PathItem#getPUT()
public void setPUT(Operation put)
org.eclipse.microprofile.openapi.models.PathItem#setPUT(org.eclipse.microprofile.openapi.models.Operation)
public PathItem PUT(Operation put)
org.eclipse.microprofile.openapi.models.PathItem#PUT(org.eclipse.microprofile.openapi.models.Operation)
public Operation getPOST()
org.eclipse.microprofile.openapi.models.PathItem#getPOST()
public void setPOST(Operation post)
org.eclipse.microprofile.openapi.models.PathItem#setPOST(org.eclipse.microprofile.openapi.models.Operation)
public PathItem POST(Operation post)
org.eclipse.microprofile.openapi.models.PathItem#POST(org.eclipse.microprofile.openapi.models.Operation)
public Operation getDELETE()
org.eclipse.microprofile.openapi.models.PathItem#getDELETE()
public void setDELETE(Operation delete)
org.eclipse.microprofile.openapi.models.PathItem#setDELETE(org.eclipse.microprofile.openapi.models.Operation)
public PathItem DELETE(Operation delete)
org.eclipse.microprofile.openapi.models.PathItem#DELETE(org.eclipse.microprofile.openapi.models.Operation)
public Operation getOPTIONS()
org.eclipse.microprofile.openapi.models.PathItem#getOPTIONS()
public void setOPTIONS(Operation options)
org.eclipse.microprofile.openapi.models.PathItem#setOPTIONS(org.eclipse.microprofile.openapi.models.Operation)
public PathItem OPTIONS(Operation options)
org.eclipse.microprofile.openapi.models.PathItem#OPTIONS(org.eclipse.microprofile.openapi.models.Operation)
public Operation getHEAD()
org.eclipse.microprofile.openapi.models.PathItem#getHEAD()
public void setHEAD(Operation head)
org.eclipse.microprofile.openapi.models.PathItem#setHEAD(org.eclipse.microprofile.openapi.models.Operation)
public PathItem HEAD(Operation head)
org.eclipse.microprofile.openapi.models.PathItem#HEAD(org.eclipse.microprofile.openapi.models.Operation)
public Operation getPATCH()
org.eclipse.microprofile.openapi.models.PathItem#getPATCH()
public void setPATCH(Operation patch)
org.eclipse.microprofile.openapi.models.PathItem#setPATCH(org.eclipse.microprofile.openapi.models.Operation)
public PathItem PATCH(Operation patch)
org.eclipse.microprofile.openapi.models.PathItem#PATCH(org.eclipse.microprofile.openapi.models.Operation)
public Operation getTRACE()
org.eclipse.microprofile.openapi.models.PathItem#getTRACE()
public void setTRACE(Operation trace)
org.eclipse.microprofile.openapi.models.PathItem#setTRACE(org.eclipse.microprofile.openapi.models.Operation)
public PathItem TRACE(Operation trace)
org.eclipse.microprofile.openapi.models.PathItem#TRACE(org.eclipse.microprofile.openapi.models.Operation)
public List<Operation> readOperations()
org.eclipse.microprofile.openapi.models.PathItem#readOperations()
public Map<HttpMethod,Operation> readOperationsMap()
org.eclipse.microprofile.openapi.models.PathItem#readOperationsMap()
public List<Server> getServers()
org.eclipse.microprofile.openapi.models.PathItem#getServers()
public void setServers(List<Server> servers)
org.eclipse.microprofile.openapi.models.PathItem#setServers(java.util.List)
public PathItem servers(List<Server> servers)
org.eclipse.microprofile.openapi.models.PathItem#servers(java.util.List)
public PathItem addServer(Server server)
org.eclipse.microprofile.openapi.models.PathItem#addServer(org.eclipse.microprofile.openapi.models.servers.Server)
public List<Parameter> getParameters()
org.eclipse.microprofile.openapi.models.PathItem#getParameters()
public void setParameters(List<Parameter> parameters)
org.eclipse.microprofile.openapi.models.PathItem#setParameters(java.util.List)
public PathItem parameters(List<Parameter> parameters)
org.eclipse.microprofile.openapi.models.PathItem#parameters(java.util.List)
public PathItem addParameter(Parameter parameter)
org.eclipse.microprofile.openapi.models.PathItem#addParameter(org.eclipse.microprofile.openapi.models.parameters.Parameter)
Copyright © 2018 JBoss by Red Hat. All rights reserved.