🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@typespec/http-specs

Package Overview
Dependencies
Maintainers
2
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typespec/http-specs

Spec scenarios and mock apis

Source
npmnpm
Version
0.1.0-alpha.29-dev.2
Version published
Maintainers
2
Created
Source

Http Specs

This package contains all the scenarios that should be supported by a client & service generator.

Development

  • FOLLOW THE MONOREPO INSTRUCTION to get the environment setup.
  • Scenarios should be in ./specs folder

Writing scenarios

Docs on writing scenarios specs

Writing mockapis

Docs on writing mock apis

Validate the scenarios are valid

pnpm run validate-scenarios

Validate the mock apis are valid

pnpm run validate-mock-apis

Start mock api server

This will start the server using the mock apis. When writing a mock api use this command to start the server.

pnpm run serve

Update version for release

pnpm change version --only "@typespec/http-specs"

Push the changes in branch named after the pattern publish/xyz. Once merged, the package will be auto-released.

FAQs

Package last updated on 13 Nov 2025

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