Skip to content

feat: add Signature and Param components for API method documentation - #2389

Merged
bjohansebas merged 13 commits into
mainfrom
new-modle
Jun 21, 2026
Merged

feat: add Signature and Param components for API method documentation#2389
bjohansebas merged 13 commits into
mainfrom
new-modle

Conversation

@bjohansebas

@bjohansebasbjohansebas commented Jun 17, 2026

Copy link
Copy Markdown
Member

Express v3 wasn’t modified because we really shouldn’t spend time polishing something that is no longer used. Otherwise, I fixed the documentation and other parts here that were somewhat outdated.

@bjohansebas
bjohansebas requested a review from a team as a code ownerJune 17, 2026 04:43
@netlify

netlifyBot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for expressjscom-preview ready!

NameLink
🔨 Latest commitf352c74
🔍 Latest deploy loghttps://app.netlify.com/projects/expressjscom-preview/deploys/6a37591aad1e5800081045b5
😎 Deploy Previewhttps://deploy-preview-2389--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 93 (🔴 down 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changesRun an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

…ic, express.text, and express.urlencoded documentation with detailed parameter descriptions
…lude options parameter with detailed descriptions
- Added detailed signatures and parameter descriptions for various app methods including app.all, app.delete, app.enable, app.disabled, app.engine, app.get, app.listen, app.METHOD, app.param, app.post, app.put, app.render, app.route, app.set, and app.use.
- Introduced <Signature> and <Param> components for better clarity and structure in documentation.
- Updated references and links for consistency and accuracy.
- Included examples and explanations for middleware functions and routing methods.
- Corrected links in the application API documentation for `res.render` and `res.render()` method.
- Updated response object documentation to reflect changes in method signatures and descriptions, including `res.download`, `res.end`, `res.json`, `res.jsonp`, `res.redirect`, `res.render`, `res.send`, `res.sendFile`, and `res.sendStatus`.
- Improved clarity and consistency in the routing guide for both 4.x and 5.x versions by updating method references to match the new documentation structure.
@bjohansebas
bjohansebas merged commit e044dd8 into mainJun 21, 2026
14 checks passed
@bjohansebas
bjohansebas deleted the new-modle branch June 21, 2026 03:41
@krzysdzkrzysdz mentioned this pull request Jun 21, 2026
bjohansebas pushed a commit that referenced this pull request Jun 22, 2026
Co-authored-by: krzysdz <krzysdz@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@bjohansebas