we are using Talend ESB version 7.0.1
when using a context variable for the endpoint of a cREST component (as server) we cannot use the expose Swagger functionality. The code won't compile.
it throws the error "The method setBasePath(String) in the type AbstractSwaggerFeature is not applicable for the arguments ()"
it seems the code that would work is commented in the generated code:
// swagger2Feature_cREST_1.setBasePath(getCXFRSEndpointAddress(context.myEndpoint)); swagger2Feature_cREST_1.setBasePath();
Is there any ways around this short of not using context variables here?
We have a similar jira issue about "Default endpoint URI not added to context variable endpoint in cRest".
Here is the related jira link:https://jira.talendforge.org/browse/TESB-17083
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to use an API-First Approach to Modernize your Applications
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs