Ask a Question

Javascript client sdk missing ?

gopakumarce
New Contributor

Javascript client sdk missing ?

Hi,

 

In my swaggerhub client SDK option list, I see typescript, but I cant see javascript option (with node style .fetch apis) - am I expected to just compile ts to js (I tried that and it fails) ? Please advise

 

gopakumarce_0-1648047269134.png

 

3 REPLIES 3
KJans
Staff

hi,

 

the javascript export is only available when you're using an OpenAPI 2.0 spec, see https://support.smartbear.com/swaggerhub/docs/apis/generating-code/index.html?sbsearch=JavaScript 

Hi,

Thanks for the response. So I assume its something that will become
available soon, is there a timeline you can share ?

Rgds,
Gopa.
KJans
Staff

Hi,

there is no timeline to share that I know of, these are implemented through the open source community. You could ask on the Swagger Codegen project (https://github.com/swagger-api/swagger-codegen) that the codegen is based on, or raise a feature request through your account manager.

cancel
Showing results for 
Search instead for 
Did you mean: