public class OpenAPISpecContext extends Object
OpenApiUtil.getOpenAPISpecContext(OpenAPI, Operation)
Constructor and Description |
---|
OpenAPISpecContext(OpenAPICookie cookie,
Map<OpenApiParameterType,List<BrowseField>> browseFields) |
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.
|
OpenAPICookie |
getCookie()
Retrieve the imported operation's cookie for this spec's execution.
|
public OpenAPISpecContext(OpenAPICookie cookie, Map<OpenApiParameterType,List<BrowseField>> browseFields)
public OpenAPICookie getCookie()
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