public class OpenAPIBrowser extends BaseBrowser
| Constructor and Description |
|---|
OpenAPIBrowser(OpenAPIConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
OpenAPIConnection |
getConnection()
Returns the base connection that was either provided or created when this instance was created.
|
ObjectDefinitions |
getObjectDefinitions(String objectTypeId,
Collection<ObjectDefinitionRole> roles)
Generates the Input / Output Object Definition based off of the Path (objectTypeId) and the
selected
BrowseContext.getCustomOperationType(). |
ObjectTypes |
getObjectTypes()
Creates an
ObjectTypes with a list of ObjectType which will contain all of the Paths
that contain the selected BrowseContext.getCustomOperationType()
If the spec provides an optional "operationId" then that will be used as the label, otherwise the path is used
as both ID and Label. |
getContextpublic OpenAPIBrowser(OpenAPIConnection connection)
public ObjectTypes getObjectTypes()
ObjectTypes with a list of ObjectType which will contain all of the Paths
that contain the selected BrowseContext.getCustomOperationType()
If the spec provides an optional "operationId" then that will be used as the label, otherwise the path is used
as both ID and Label.public ObjectDefinitions getObjectDefinitions(String objectTypeId, Collection<ObjectDefinitionRole> roles)
BrowseContext.getCustomOperationType(). This will also include OpenAPICookie
and BrowseField for operation parametersobjectTypeId - the selected ObjectType's IDroles - Roles for Operationpublic OpenAPIConnection getConnection()
BaseBrowsergetConnection in class BaseBrowser