Integrating Swagger OpenAPI for easy API documentation in spring boot

These days I am more into creating backend projects which include microservices.But if anyone wants to test these services one needs postman or do the old classic way of curl command. Both do the job brilliantly but what if I wanted some user who doesn’t want to install postman or use curl and still wants to test my live APIs thru the browser? I came across this swagger open API specification and this is a really handy tool!...

January 16, 2022 · 3 min · 521 words · Shweta Kadam

Which would you go for? Spring boot cron job,scheduled tasks vs Events in Mysql.

I was recently studying about using cron jobs in spring boot for a particular use case for my small side project. I ended up not using the cron job but rather went the SQL way(will explain this in detail below). However,in the process I learnt a lot about cron jobs and scheduling in spring boot so this is just a small article about my learnings. But first I shall tell you a little about my use case and why I thought about cron jobs in the first place…....

January 12, 2022 · 4 min · 831 words · Shweta Kadam