Introduces dynamic route parameter support in route path computation and schema matching. Adds a utility for sending validation errors, updates schema definitions to support header validation, and refactors server middleware to handle header, body, and query validation with improved error handling. Also adds a placeholder user route and updates dependencies to include 'path-to-regexp'.
8 lines
141 B
JavaScript
8 lines
141 B
JavaScript
const express = require("express")
|
|
const router = express.Router()
|
|
|
|
router.post("/", async (req, res, next) => {
|
|
|
|
})
|
|
|
|
module.exports = router |