public class OpenAPIConnection<C extends BrowseContext> extends RestConnection<C>
DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT| Constructor and Description |
|---|
OpenAPIConnection(C context) |
| Modifier and Type | Method and Description |
|---|---|
protected io.swagger.v3.oas.models.OpenAPI |
getApi() |
ObjectDefinitions |
getObjectDefinitions(String path,
Collection<ObjectDefinitionRole> roles)
Generates the Input / Output Object definition based off of the OpenAPI Spec.
|
List<ObjectType> |
getObjectTypes()
Returns a list of Object Types.
|
protected OpenAPIParseOption |
getOpenAPIParseOption()
Return
OpenAPIParseOption which contains information on how you want to parse your openapi spec. |
protected io.swagger.v3.oas.models.Operation |
getOperation(String path)
Fetch the
Operation based off of the path value and the selected
BrowseContext.getCustomOperationType() |
String |
getSpec()
Get the location of the target OpenAPI Specification.
|
getAPIAuthenticationType, getAuthenticationType, getAWSAccessKey, getAWSRegion, getAWSSecretKey, getAWSService, getConnectionProperty, getConnectTimeout, getCookieScope, getCustomAuthCredentials, getDomain, getHttpMethod, getOAuthContext, getPassword, getPreemptive, getPrivateKeyStore, getPublicKeyStore, getReadTimeout, getUrl, getUsername, getWorkstation, isConnectionPoolingEnabledgenerateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContextpublic OpenAPIConnection(C context)
protected io.swagger.v3.oas.models.Operation getOperation(String path)
Operation based off of the path value and the selected
BrowseContext.getCustomOperationType()path - the selected Pathpublic List<ObjectType> getObjectTypes()
public ObjectDefinitions getObjectDefinitions(String path, Collection<ObjectDefinitionRole> roles)
OpenAPIRequestCookie for Operation execution.
This will also create BrowseField to fetch parameter details on the operation
UIpath - selected operation pathroles - Operation input / output rolesprotected io.swagger.v3.oas.models.OpenAPI getApi()
public String getSpec()
protected OpenAPIParseOption getOpenAPIParseOption()
OpenAPIParseOption which contains information on how you want to parse your openapi spec.