public class OpenAPIConnector extends BaseConnector
Constructor and Description |
---|
OpenAPIConnector() |
Modifier and Type | Method and Description |
---|---|
Browser |
createBrowser(BrowseContext context)
Returns
OpenAPIBrowser which will read the given OpenAPI specification and return possible
operation parameters fields, request / response profiles / and generates the OpenAPIRequestCookie and
OpenAPIResponseCookie |
protected Operation |
createExecuteOperation(OperationContext context)
The
OpenAPIOperation executes the HTTP method (GET / HEAD / POST / DELETE / PUT / PATCH / OPTIONS / TRACE )
against the selected path with any additional schemas and parameters defined by the specification. |
createCreateOperation, createDeleteOperation, createGetOperation, createOperation, createQueryOperation, createUpdateOperation, createUpsertOperation, getContext, initialize, setContext
public Browser createBrowser(BrowseContext context)
OpenAPIBrowser
which will read the given OpenAPI specification and return possible
operation parameters fields, request / response profiles / and generates the OpenAPIRequestCookie
and
OpenAPIResponseCookie
createBrowser
in interface Connector
createBrowser
in class BaseConnector
context
- the BrowseContextprotected Operation createExecuteOperation(OperationContext context)
OpenAPIOperation
executes the HTTP method (GET / HEAD / POST / DELETE / PUT / PATCH / OPTIONS / TRACE )
against the selected path with any additional schemas and parameters defined by the specification.createExecuteOperation
in class BaseConnector
context
- the OperationContext