public class OpenAPIDslConnection extends OpenAPIConnection
Constructor and Description |
---|
OpenAPIDslConnection(BrowseContext 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
getAuthenticationType, getAWSAccessKey, getAWSRegion, getAWSSecretKey, getAWSService, getCookieScope, getCustomAuthCredentials, getHttpMethod, getOAuthContext, getPassword, getPreemptive, getPrivateKeyStore, getPublicKeyStore, getUrl, getUsername, isConnectionPoolingEnabled
generateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContext
public OpenAPIDslConnection(BrowseContext context)
public List<ObjectType> getObjectTypes()
getObjectTypes
in class OpenAPIConnection
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
customObjectTypeId
- HttpMethod:RelativePathpublic String getSpec()
getSpec
in class OpenAPIConnection