@dnervin/docs
v1.0.0
Published
A custom Swagger UI documentation module
Downloads
2
Maintainers
Readme
DNERVIN/DOCS
Swagger Documentation for the DNERVIN API
Swagger documentation for @@dnervin/utils user validation.
Installation
npm install @dnervin/docs
Usage
const express = require('express')
const app = express()
const swaggerDocs = require('@dnervin/docs')
// Use the swaggerDocs middleware
app.use('/api-docs', swaggerDocs)
// Start the server
app.listen(3000, () => {
console.log('Server is running on http://localhost:3000')
})