@Test public void shouldIncorporateGivenConfiguredProperties() throws IOException { final String specification = resource("/openapi/v2/reverb.yaml"); final ConnectorSettings connectorSettings = new ConnectorSettings.Builder() .name("Reverb API") .description("Invokes Reverb API") .icon("fa-music") .putConfiguredProperty("specification", specification) .putConfiguredProperty("tokenEndpoint", "http: final Connector connector = generator.generate(ApiConnectorTemplate.SWAGGER_TEMPLATE, connectorSettings); assertThat(connector.getConfiguredProperties()).containsEntry("tokenEndpoint", "http: }
@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; }