1.0.0 • Published 1 year ago

@dnervin/docs v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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')
})
1.0.0

1 year ago