public class OpenAPIConnection extends RestConnection
Constructor and Description |
---|
OpenAPIConnection(BrowseContext context) |
Modifier and Type | Method and Description |
---|---|
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 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.
|
getAuthenticationType, getAWSAccessKey, getAWSRegion, getAWSSecretKey, getAWSService, getCookieScope, getCustomAuthCredentials, getHttpMethod, getOAuthContext, getPassword, getPreemptive, getPrivateKeyStore, getPublicKeyStore, getUrl, getUsername
generateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContext
public OpenAPIConnection(BrowseContext 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)
OpenAPICookie
for Operation
execution.
This will also create BrowseField
to fetch parameter details on the operation
UIpath
- selected operation pathroles
- Operation input / output rolespublic String getSpec()