Swagger API Setup
This page aims to guide you on the setup or changes in the swagger configuration.
Swagger Config
there is only two places which the configuration of swagger is setup in this project.
src/main.ts - store the setup config files
config/default.js - stores metadata to start swagger
Main.ts File
Swagger API setup codes are only stored in this file and not anywhere else in the project. Do not remove these codes otherwise swagger will no longer exist in the project.
If a new module is created but does not appear in the Swagger API, do add it into the include key-value pair.
main.ts
Last updated
Was this helpful?