Overview If you have read my last blog post then you already know what I’m going to tell you now. So if you haven’t read those yet please refer it before starting this tutorial. https://randikan.wordpress.com/2016/01/12/generate-client-side-code-using-swagger-codegen/ Prerequisites You need to have a clear idea about swagger codegen. If you need a single jar file as the output…
Month: January 2016
Generate client side code using Swagger Codegen
Overview Swagger provides a simple, powerful representation for you APIs. After creating an API what you need is a client side code to access the API. Swagger provides an open source product to do that. Swagger Codegen Swagger codegen is the tool that we are going to use for generating client side code. You can…
OAuth 2.0
Now a days APIs do a major role in software engineering, and accessing APIs from mobile devices are becoming very useful. So when it comes to that, OAuth2 is an excellent protocol for securing API services from untrusted devices. OAuth Roles There are four major roles defined in OAuth Resource Owner The resource owner is the…