You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Cajetan Rodrigues <ri...@gmail.com> on 2019/08/03 14:49:08 UTC

Fwd: Swagger Implementation for the fineract backend

Thanks and Regards,

*Cajetan Christopher Rodrigues*
*B.E Computer Engineering*
*rigrod1999@gmail.com <ri...@gmail.com>*
*Google Summer of code 2019*


---------- Forwarded message ---------
From: Cajetan Rodrigues <ri...@gmail.com>
Date: Sat, Aug 3, 2019 at 8:18 PM
Subject: Swagger Implementation for the fineract backend
To: Mifos software development <mi...@lists.sourceforge.net>


Hi Kang,

As you said in today's check-in, the self-service APIs have been integrated
with swagger.

It would be helpful if can provide the link for the same. Since there are
ton of apis present on the fineract api doc which is documented as a static
page. So it's not practical to copy-paste each and every request and check
in postman.

A faster way would be swagger where we can have hands-on the apis on the
fly.

I am not sure if Spring Boot or Spring MVC is being used at the moment. But
if it's Spring Boot, the dependency does wonders. Just need to hook in the
swagger config file, and it auto generates all the apis in the controllers
created.
It auto-scans it.

Let me know what you think. :)

Thanks and Regards,

*Cajetan Christopher Rodrigues*
*B.E Computer Engineering*
*rigrod1999@gmail.com <ri...@gmail.com>*
*Google Summer of code 2019*

Re: Swagger Implementation for the fineract backend

Posted by Kang Breder <ka...@gmail.com>.
Hi Cajatan,

Swagger has been integrated for the self service API. We are currently
using swagger-core and swagger-core annotations to generate the swagger
docs.

The swagger UI has not yet been hosted on Tomcat. I am using python
SimpleHTTPServer for hosting. See the link below
http://localhost:8000/
But right now calls can not yet be made from swagger UI itself that is what
i was talking about on at the meeting today. It may be CORS problem or the
UI will have to be hosted on Tomcat. I was wondering whether CORS has been
enabled on server side. May be you try testing too


Regards

On Sat, Aug 3, 2019 at 3:49 PM Cajetan Rodrigues <ri...@gmail.com>
wrote:

>
> Thanks and Regards,
>
> *Cajetan Christopher Rodrigues*
> *B.E Computer Engineering*
> *rigrod1999@gmail.com <ri...@gmail.com>*
> *Google Summer of code 2019*
>
>
> ---------- Forwarded message ---------
> From: Cajetan Rodrigues <ri...@gmail.com>
> Date: Sat, Aug 3, 2019 at 8:18 PM
> Subject: Swagger Implementation for the fineract backend
> To: Mifos software development <mi...@lists.sourceforge.net>
>
>
> Hi Kang,
>
> As you said in today's check-in, the self-service APIs have been
> integrated with swagger.
>
> It would be helpful if can provide the link for the same. Since there are
> ton of apis present on the fineract api doc which is documented as a static
> page. So it's not practical to copy-paste each and every request and check
> in postman.
>
> A faster way would be swagger where we can have hands-on the apis on the
> fly.
>
> I am not sure if Spring Boot or Spring MVC is being used at the moment.
> But if it's Spring Boot, the dependency does wonders. Just need to hook in
> the swagger config file, and it auto generates all the apis in the
> controllers created.
> It auto-scans it.
>
> Let me know what you think. :)
>
> Thanks and Regards,
>
> *Cajetan Christopher Rodrigues*
> *B.E Computer Engineering*
> *rigrod1999@gmail.com <ri...@gmail.com>*
> *Google Summer of code 2019*
>