Posted in Django Swagger

How to use Swagger with Python based Django REST APIs

Here in this tutorial I am going to show you how to use Swagger API with Django REST framework. Swagger API provides well structured documentation for REST API endpoints so a new person can say how to test a REST API without knowing its internal implementation. Essentially, Swagger does a simple but very powerful thing: with a bit of additional…

Continue Reading... How to use Swagger with Python based Django REST APIs
Posted in Spring Boot Spring REST Swagger

Spring Boot REST API Documentation with Swagger 2

Introduction This tutorial will show you how to use swagger 2 using Spring Boot application for creating RESTful documentation. You generally create and deploy REST services but you do not have an option to let others know in a single place, where REST services are exposed for consumption or what details are there for a REST API, what is the…

Continue Reading... Spring Boot REST API Documentation with Swagger 2
Posted in Spring REST Swagger

Validate input data in REST service

Introduction In this tutorial I will show you how you can validate your input data while working with REST service. Generally you need to validate the input data coming from end users because users may give anything as an input but your service side code should not accept anything as an input for the defined field. Prerequisites Please go through…

Continue Reading... Validate input data in REST service
Posted in Spring REST Swagger

Documenting Spring REST API with Swagger 2

When creating a REST API, good documentation is instrumental. But developers do not have any option using JSR-339 to generate any documentation on all these APIs so other developers could quickly understand how to use them. For sure, it would be just awesome to generate verbose and easy to follow documentation from source code, and but the help is coming in…

Continue Reading... Documenting Spring REST API with Swagger 2