Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nboisvert
Contributor II
Contributor II

tRestRequest swagger specification not refresh on deploy

I created a REST service with job exposing a tRestRequest. I have activated both options for swagger file generation ('Expose Swagger specification' and 'Include Documentation into Swagger Spec'). The first time I deployed my service via the TAC, everything worked fine, the service was exposing its swagger specification file via url /myServiceName/swagger.json.

 

However, I had to change on of my REST API Mapping URI Pattern. I republished my job, redeployed it via the TAC. The service itself is updated correctly, but the swagger documentation is not, it sticks to the initial version that was deployed. SO I have a service exposing on outadeted swagger specification.

 

Note that I took care to correctly undeployed the initial version of mmy service, before recreating it via the TAC. I'm running version 6.4.1

Labels (3)
4 Replies
Anonymous
Not applicable

Hello,

Could you please create a case on talend support portal so that we can give you a remote assistance(webex) through support cycle with priority?

Best regards

Sabrina

Anonymous
Not applicable

I am also having this issue. Can you please post the workaround / fix for this?
Anonymous
Not applicable

Hello JackM,

Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina

nboisvert
Contributor II
Contributor II
Author

The problem seems to be with Talend Server caching the request to the swagger documentation. If you just stop and restart Talend Server service, new generated dpcumentaiton will be displayed. I didn't find any other way to avoid this though