public class OpenAPISpecContext extends Object
Modifier and Type | Method and Description |
---|---|
List<BrowseField> |
getBrowseFieldByType(OpenAPIParameterType parameterType)
Retrieve specific ui fields by
OpenAPIParameterType specific parameter types. |
Map<OpenAPIParameterType,List<BrowseField>> |
getBrowseFields()
Retrieve all of the operation's ui fields for this spec's operation,
this map is not mutable.
|
OpenAPIRequestCookie |
getRequestCookie()
Retrieve the imported operation's request cookie for this spec's operation execution.
|
OpenAPIResponseCookie |
getResponseCookie()
Retrieves the imported operation's response cookie for this spec's operation execution.
|
String |
getSelectedRequestContentType()
Return the request content type for this operation's request.
|
io.swagger.v3.oas.models.media.MediaType |
getSelectedRequestMedia()
Returns the media type definition of the request.
|
String |
getSelectedResponseContentType()
Returns the response content type for this operation's response.
|
io.swagger.v3.oas.models.media.MediaType |
getSelectedResponseMedia()
Returns the media type definition of the response.
|
public OpenAPIRequestCookie getRequestCookie()
public OpenAPIResponseCookie getResponseCookie()
public String getSelectedRequestContentType()
public String getSelectedResponseContentType()
public io.swagger.v3.oas.models.media.MediaType getSelectedRequestMedia()
public io.swagger.v3.oas.models.media.MediaType getSelectedResponseMedia()
public Map<OpenAPIParameterType,List<BrowseField>> getBrowseFields()
public List<BrowseField> getBrowseFieldByType(OpenAPIParameterType parameterType)
OpenAPIParameterType
specific parameter types.
this list is not mutable.parameterType
- the parameter type