public class OpenAPIConnection extends RestConnection
| Constructor and Description |
|---|
OpenAPIConnection(BrowseContext 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.
|
getAuthenticationType, getAWSAccessKey, getAWSRegion, getAWSSecretKey, getAWSService, getCookieScope, getCustomAuthCredentials, getHttpMethod, getOAuthContext, getPassword, getPreemptive, getPrivateKeyStore, getPublicKeyStore, getUrl, getUsername, isConnectionPoolingEnabledgenerateConnectionInfo, generateConnectionInfo, getConnector, getContext, getOperationContextpublic 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)
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.