@Test public void includesRestSwaggerConnectorFactory() throws IOException { final ConnectorSettings connectorSettings = createReverbSettings(); final Connector connector = generator.generate(ApiConnectorTemplate.SWAGGER_TEMPLATE, connectorSettings); assertThat(connector.getConnectorFactory()).isPresent(); assertThat(connector.getConnectorFactory()).hasValue("io.syndesis.connector.rest.swagger.ConnectorFactory"); }
@Override public final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings) { final Connector connector = basicConnector(connectorTemplate, connectorSettings); return configureConnector(connectorTemplate, connector, connectorSettings); }
OpenApiConnectorGenerator extends ConnectorGenerator { @Override public final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings) { final Connector connector = basicConnector(connectorTemplate, connectorSettings); return configureConnector(connectorTemplate, connector, connectorSettings); } }
OpenApiConnectorGenerator extends ConnectorGenerator { @Override public final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings) { final Connector connector = basicConnector(connectorTemplate, connectorSettings); return configureConnector(connectorTemplate, connector, connectorSettings); } OpenApiConnectorGenerator(final Connector baseConnector, final Supplier<String> operationIdGenerator);  OpenApiConnectorGenerator(final Connector baseConnector); }
OpenApiConnectorGenerator extends ConnectorGenerator { @Override public final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings) { final Connector connector = basicConnector(connectorTemplate, connectorSettings); return configureConnector(connectorTemplate, connector, connectorSettings); } OpenApiConnectorGenerator(final Connector baseConnector, final Supplier<String> operationIdGenerator);  OpenApiConnectorGenerator(final Connector baseConnector); @Override final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings); @Override final APISummary info(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings); }
OpenApiConnectorGenerator extends ConnectorGenerator { @Override public final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings) { final Connector connector = basicConnector(connectorTemplate, connectorSettings); return configureConnector(connectorTemplate, connector, connectorSettings); } OpenApiConnectorGenerator(final Connector baseConnector, final Supplier<String> operationIdGenerator);  OpenApiConnectorGenerator(final Connector baseConnector); @Override final Connector generate(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings); @Override final APISummary info(final ConnectorTemplate connectorTemplate, final ConnectorSettings connectorSettings); static final String SPECIFICATION; }