Progressive Coder

Progressive Coder

Share this post

Progressive Coder
Progressive Coder
NestJS Basics#8 - API Documentation with Swagger

NestJS Basics#8 - API Documentation with Swagger

Following the Open API standards...

Saurabh Dashora's avatar
Saurabh Dashora
Mar 04, 2023
∙ Paid
1

Share this post

Progressive Coder
Progressive Coder
NestJS Basics#8 - API Documentation with Swagger
Share

Welcome to the Part 8 of NestJS Basics.

In the previous post, we looked at the NestJS Exception Filter. The main topics were as follows:

  • What is an Exception Filter?

  • How to create a Custom Exception Filter?

  • Understanding the ArgumentsHost

  • How to use the Custom Exception Filter?

Exception filters help us gain complete control over the exception layer in our NestJS application.

If you haven’t gone through it yet, you can check out the post on the NestJS exception filter below:

Progressive Coder
NestJS Basics#7 - Exception Filters in NestJS
Welcome to the Part 7 of NestJS Basics. In the previous post, we looked at the in-built exception handling in NestJS. The main topics were as follows: Understanding the global exception filter How to throw standard exceptions? How to customize the exceptions for better control…
Read more
2 years ago · 2 likes · Saurabh Dashora

In today’s post, I’m going to cover the topic of API Documentation with Swagger in your NestJS application.

The Plan

Here are the things we will cover in this post.

  • What is Swagger?

  • Initializing the Swagger module

  • Setting the Proper API Tags

In this post, we will get started with Swagger for our NestJS application. However, more aspects will be covered in future posts as the complexity of our demo application increases.

As usual, every step will be accompanied by appropriate code examples.

Want to learn NestJS but haven't joined ProgressiveCoder's paid subscription yet?

Don't delay, join now to gain instant access to the course and unlock exclusive content and support. Click the below link to get a special discount.

Get 20% off for 1 year

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Saurabh Dashora
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share