public abstract class OpenApiFlowGenerator<T extends io.apicurio.datamodels.openapi.models.OasDocument,O extends io.apicurio.datamodels.openapi.models.OasOperation> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OpenApiFlowGenerator(DataShapeGenerator<T,O> dataShapeGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateFlows(T openApiDoc,
Integration.Builder integration,
OpenApiModelInfo info,
ProvidedApiTemplate template)
Generate integration flows from given Open API document.
|
protected abstract String |
getBasePath(T openApiDoc) |
protected abstract Map<String,O> |
getOperationsMap(io.apicurio.datamodels.openapi.models.OasPathItem pathItem) |
protected OpenApiFlowGenerator(DataShapeGenerator<T,O> dataShapeGenerator)
public void generateFlows(T openApiDoc, Integration.Builder integration, OpenApiModelInfo info, ProvidedApiTemplate template)
openApiDoc - the open api document.integration - the integration builderinfo - the open api model info.template - the provided api template.Copyright © 2016–2021 Red Hat. All rights reserved.