comparar · Code quality
Both work with Node.js. In a kit you pick one, and your agent gets the rule to use only that one.
| NestJS Swagger UI | Prettier | |
|---|---|---|
| What it is | Generate interactive API documentation and an OpenAPI JSON document from NestJS controllers. | Consistent formatting with the official formatter. |
| Frameworks | Node.js | React, Vue, Svelte, Solid, Vanilla, Next.js, Nuxt, SvelteKit, Astro, Angular, Node.js, Bun, Expo, React Native, Electron, Tauri, npm package, VS Code extension, Browser extension |
| Paquetes | @nestjs/swagger@^12.1.2 | — |
| Skill oficial | — | — |
| How your agent uses it | Run the API and open /docs for Swagger UI or /docs-json for its contract. Document request and response DTOs using @nestjs/swagger decorators. | Use {{pmx}} prettier --write . and --check . in CI. Keep framework-specific plugins when already configured; Astro and Svelte need their respective Prettier plugins. |
| Kits that offer it | api-nestjs | api-elysia, api-express, api-fastify, api-hono, api-nestjs, blog-astro, chrome-extension, cli-node, desktop-electron, desktop-tauri, discord-bot, docs-fumadocs, docs-starlight, docs-vitepress, github-action, landing-astro, landing-next, landing-nuxt, landing-sveltekit, mcp-server-ts, mobile-expo, mobile-expo-supabase, mobile-ignite, mobile-ionic-react, monorepo-packages, portfolio-astro, saas-ai-next, saas-next-better-auth, saas-next-supabase, saas-nuxt, saas-sveltekit, saas-t3, saas-tanstack-start, slack-app, spa-vite-react, vscode-extension, web-angular, web-astro, web-next, web-nuxt, web-react-router, web-sveltekit, web-tanstack-start, web-vue-vite |
| Chosen in | 0 installs | 1 installs |