Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsoa/cli

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsoa/cli

Build swagger-compliant REST APIs using TypeScript and Node

  • 5.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created

What is @tsoa/cli?

@tsoa/cli is a command-line interface for the TSOA framework, which is used to generate TypeScript-based REST APIs with OpenAPI documentation. It helps in creating controllers, models, and routes, and also generates OpenAPI specifications from TypeScript code.

What are @tsoa/cli's main functionalities?

Generate OpenAPI Specification

This command generates the OpenAPI specification (swagger.json) from your TypeScript code. It scans your controllers and models to create a comprehensive API documentation.

tsoa spec

Generate Routes

This command generates the routes for your API based on the controllers defined in your TypeScript code. It creates a routes file that can be used to set up your API endpoints.

tsoa routes

Watch Mode

This command runs both the 'spec' and 'routes' commands in watch mode. It automatically regenerates the OpenAPI specification and routes whenever there are changes in your TypeScript files.

tsoa spec-and-routes --watch

Other packages similar to @tsoa/cli

Keywords

FAQs

Package last updated on 07 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc