Hi Nandika,

Hope you are executing commands similar to the ones described in [1] using
your shell script. In this case I think you would be able to add a swagger
codegen dependency into your java code and try generating sdk from It.

Thanks,
Malintha

[1]
https://github.com/swagger-api/swagger-codegen#to-generate-a-sample-client-library

On Wed, Jan 13, 2016 at 4:41 PM, Randika Navagamuwa <[email protected]>
wrote:

> Hi all,
>   I'm trying to generate a client side sdk using the swagger file that I
> can get from API manager. I'm using swagger codegen to generate the java
> client side code and using that I'm building the jar file.
>  Use case is there should be a button and client sdk should be generated
> when it is pressed. In my case I'm using a shell script to run the required
> commands. So when the button is pressed that shell script should be
> executed.
>  So I created a java class to execute the shell script. Java method is
> executed through jaggery UI.
>
> Is there a better way to do this?
>
> Thanks,
> Randika
> --
> *Randika Navagamuwa*
> *Intern - Software Engineering*
> *Mobile : +94711853466 <%2B94711853466>*
> *Twitter : twitter.com/rnavagamuwa <http://twitter.com/rnavagamuwa>*
> *Facebook : facebook.com/rnavagamuwa <http://facebook.com/rnavagamuwa>*
> *Linkedin : lk.linkedin.com/in/rnavagamuwa
> <http://lk.linkedin.com/in/rnavagamuwa>*
> *Blog : **randikan.wordpress.com* <http://randikan.wordpress.com>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Malintha Amarasinghe
Software Engineer
*WSO2, Inc. - lean | enterprise | middleware*
http://wso2.com/

Mobile : +94 712383306
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to