public class OpenAPIDslConnection<C extends BrowseContext> extends OpenAPIConnection<C>
DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT
Constructor and Description |
---|
OpenAPIDslConnection(C context) |
Modifier and Type | Method and Description |
---|---|
List<ObjectType> |
getObjectTypes()
Returns a list of ObjectTypes by parsing a json config file part of the custom OpenAPI connector jar.
|
protected io.swagger.v3.oas.models.Operation |
getOperation(String customObjectTypeId)
Fetch the
Operation based off of the path value and the selected BrowseContext.getCustomOperationType() .customObjectTypeId is a ":" delimited combination of HttpMethod &
relative path from
the OpenAPI spec. |
String |
getSpec()
Get the location of the target OpenAPI Specification from the json config file with key "spec"
|
getApi, getObjectDefinitions, getOpenAPIParseOption
getAPIAuthenticationType, getAuthenticationType, getAWSAccessKey, getAWSRegion, getAWSSecretKey, getAWSService, getConnectionProperty, getConnectTimeout, getCookieScope, getCustomAuthCredentials, getDomain, getHttpMethod, getOAuthContext, getPassword, getPreemptive, getPrivateKeyStore, getPublicKeyStore, getReadTimeout, getUrl, getUsername, getWorkstation, isConnectionPoolingEnabled
generateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContext
public OpenAPIDslConnection(C context)
public List<ObjectType> getObjectTypes()
getObjectTypes
in class OpenAPIConnection<C extends BrowseContext>
protected io.swagger.v3.oas.models.Operation getOperation(String customObjectTypeId)
Operation
based off of the path value and the selected BrowseContext.getCustomOperationType()
.customObjectTypeId is a ":" delimited combination of HttpMethod &
relative path from
the OpenAPI spec.getOperation
in class OpenAPIConnection<C extends BrowseContext>
customObjectTypeId
- HttpMethod:RelativePathpublic String getSpec()
getSpec
in class OpenAPIConnection<C extends BrowseContext>