Prasundas99 / Authentication-using-nodejs-typescript-and-mongodb

MIT License
0 stars 0 forks source link

Incorporating Swagger Documentation with TypeScript Decorators in Node.js Project using MongoDB #4

Open Prasundas99 opened 1 year ago

Prasundas99 commented 1 year ago

Issue Description:

I encountered challenges while attempting to integrate Swagger documentation into my Node.js project written in TypeScript. The project utilizes TypeScript decorators and interacts with a MongoDB database. The goal was to add Swagger documentation that accurately reflects the API endpoints and data models, providing an automated and comprehensive API reference.

Steps to Reproduce:

Expected Behavior:

The Swagger documentation tool should seamlessly integrate with the TypeScript decorators in the Node.js project and automatically generate comprehensive API documentation in YAML or JSON format. The generated documentation should include accurate descriptions of the endpoints, request/response types, and other relevant information.

Actual Behavior:

Integrating Swagger documentation with the TypeScript decorators in the Node.js project does not produce the expected results. The Swagger tool fails to generate comprehensive API documentation or encounters compatibility issues with TypeScript decorators and MongoDB integration.

Prasundas99 commented 1 year ago

Possible Solutions: