Automatic swagger ui for nodejs/express? (Info in comments)

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • swagger-jsdoc

    Generates swagger/openapi specification based on jsDoc comments and YAML files.

  • There's swagger-ui-express which can work with swagger-jsdoc.

  • fastify-swagger

    Swagger documentation generator for Fastify

  • The fastify-swagger docs has an example https://github.com/fastify/fastify-swagger

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • tsoa

    Build OpenAPI-compliant REST APIs using TypeScript and Node

  • Have a look at [TSOA[(https://github.com/lukeautry/tsoa). While far from perfect (I am on the lookout to find a better solution), gets the job done. And generating the entire routing is a pretty neat trick, so that's also that.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts