Skip to content
PluginStats

REST API Client Code Generator for VS Code installs statistics

By Christian Resma Helle (2 listings) · VS Code Marketplace · Programming Languages

Generate REST API client code from OpenAPI/Swagger specifications

View on VS Code Marketplace Fresh · Dec 6, 2026

REST API Client Code Generator for VS Code has 204,481 recorded installs on VS Code Marketplace, an increase of 0.1% over the past 30 days, ranking #1498 of 2,515 tracked listings.

Installs
204,481
Official API · Dec 6, 2026
7-day growth
+0.0%
+49 installs
30-day growth
+0.1%
+234 installs
90-day growth
—
Insufficient history
Rank
#1498
▼ 2 in 7 days

About REST API Client Code Generator for VS Code

buymeacoffee

There is a separate VSIX installer available for Visual Studio 2022, Visual Studio 2019 and Visual Studio 2017

REST API Client Code Generator

A VS Code extension for generating C# and TypeScript REST API clients from OpenAPI/Swagger specifications.

Installation

You can install this extension in several ways:

  1. VS Code Marketplace: Search for "REST API Client Code Generator" in the VS Code Extensions view.

  2. Manual Installation:

    • Download the .vsix file from the GitHub releases page
    • In VS Code, go to Extensions view
    • Click on "..." menu in the top right corner
    • Select "Install from VSIX..."
    • Locate and select the downloaded .vsix file

Features

This extension adds a context menu item REST API Client Code Generator when right-clicking on JSON or YAML files in the VS Code explorer. Additionally, it provides a Generate Refitter Output command when right-clicking on .refitter settings files. The context menu provides the following code generation options:

C# Generators
  • NSwag: Generates a C# REST API Client using NSwag
  • Refitter: Generates a C# Refit interface using Refitter
  • OpenAPI Generator: Generates a C# REST API Client using OpenAPI Generator
  • Microsoft Kiota: Generates a C# REST API Client using Microsoft Kiota
  • Swagger Codegen CLI: Generates a C# REST API Client using Swagger Codegen CLI
TypeScript Generators
  • Angular: Generates a TypeScript REST API Client for Angular
  • Aurelia: Generates a TypeScript REST API Client for Aurelia
  • Axios: Generates a TypeScript REST API Client for Axios
  • Fetch: Generates a TypeScript REST API Client for Fetch
  • Inversify: Generates a TypeScript REST API Client for Inversify
  • jQuery: Generates a TypeScript REST API Client for jQuery
  • NestJS: Generates a TypeScript REST API Client for NestJS
  • Node: Generates a TypeScript REST API Client for Node
  • Redux Query: Generates a TypeScript REST API Client for Redux Query
  • RxJS: Generates a TypeScript REST API Client for RxJS
Refitter Settings Support
  • Generate Refitter Output: When right-clicking on a .refitter settings file, you can generate C# Refit interfaces using Refitter with custom configuration. This allows for advanced Refitter configurations including custom settings for authentication, serialization, and other Refitter-specific options.

Screenshot

Command Palette

C# Context Menu

TypeScript Context Menu

Requirements

For C# code generation
  • .NET SDK 6.0 or higher
  • Java Runtime Environment (for OpenAPI Generator and Swagger Codegen CLI)
For TypeScript code generation
  • Node.js and NPM
  • OpenAPI Generator

The extension uses the rapicgen .NET tool to generate the code. If not already installed, you will be prompted to install it when first attempting to generate code.

Settings and Configuration

The extension includes configurable settings:

  • restApiClientCodeGenerator.namespace: Default namespace to use in generated code (default: "GeneratedCode")
  • restApiClientCodeGenerator.outputDirectory: Output directory relative to workspace folder (default: same directory as the specification file)

How to Use

For OpenAPI/Swagger Specifications
  1. Right-click on a Swagger/OpenAPI specification file (JSON or YAML) in the VS Code explorer
  2. Select "REST API Client Generator" in the context menu
  3. Choose your desired language (C# or TypeScript)
  4. Select one of the available generators for that language
  5. The generated code will be saved in the configured output directory and opened in the editor
For Refitter Settings Files
  1. Create a .refitter settings file with your Refitter configuration
  2. Right-click on the .refitter file in the VS Code explorer
  3. Select "Generate Refitter Output" from the context menu
  4. The generated C# Refit interfaces will be created according to your settings file configuration

Refitter Settings Files

The extension supports Refitter settings files (.refitter) which allow you to configure advanced options for generating C# Refit interfaces. A typical .refitter settings file includes:

  • OpenAPI specification URL or file path
  • Namespace configuration
  • Output file paths
  • Authentication settings
  • Serialization options
  • Custom type mappings
  • And many other Refitter-specific options

Example .refitter file:

{
  "openApiSpecUrl": "https://petstore.swagger.io/v2/swagger.json",
  "namespace": "PetStore.Api",
  "outputFolder": "./Generated",
  "outputFilename": "PetStoreApi.cs",
  "clientName": "PetStoreClient",
  "generateContracts": true,
  "generateXmlDocCodeComments": true
}

For more information about Refitter settings, visit the Refitter documentation.

Dependencies

C# Dependencies

The C# code generated by each generator depends on different NuGet packages:…

Description from the VS Code Marketplace listing.

  • api client
  • code generator
  • openapi
  • swagger

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

REST API Client Code Generator for VS Code installs on VS Code Marketplace, last 90 days: 204,481 installs as of Dec 6, 2026.REST API Client Code Generator for VS …Installs on VS Code Marketplace · Last 90 days204,481installs204K204.1K204.2K204.3K204.4K204.5KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
REST API Client Code Generator for VS Code installs on VS Code Marketplace, last 90 days: 204,481 installs as of Dec 6, 2026.

7/30/90-day growth

REST API Client Code Generator for VS Code installs growth on VS Code Marketplace: +0.0% over 7 days, +0.1% over 30 days, 90-day growth unavailable.REST API Client Code Generator for VS …Installs growth on VS Code Marketplace204,481installs now7-day growth+49 installs+0.0%30-day growth+234 installs+0.1%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
REST API Client Code Generator for VS Code installs growth on VS Code Marketplace: +0.0% over 7 days, +0.1% over 30 days, 90-day growth unavailable.

Ranking history

REST API Client Code Generator for VS Code VS Code Marketplace ranking history: currently #1498 (by installs).REST API Client Code Generator for VS …VS Code Marketplace ranking · by installs · Last 90 days#1498current rank#1486#1488#1490#1492#1494#1496#1498#1500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
REST API Client Code Generator for VS Code VS Code Marketplace ranking history: currently #1498 (by installs).

Ratings over time

REST API Client Code Generator for VS Code ratings on VS Code Marketplace, last 90 days.REST API Client Code Generator for VS CodeRatings on VS Code Marketplace · Last 90 daysNo observations recorded in this periodno observations · 0 observations · Updated Dec 6, 2026pluginstats.com
REST API Client Code Generator for VS Code ratings on VS Code Marketplace, last 90 days.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 76, #2 (overall #1,502)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 27, #3 (overall #523)
Programming Languages: every listing in installs order

Listing placement

Snippets490 listings · 25 pages · page 15, #17 (overall #297)
Snippets: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for REST API Client Code Generator for VS Code
Date (UTC)InstallsChange vs. previous
204,481+2
204,479+12
204,467+9
204,458+11
204,447+6
204,441+8
204,433+1
204,432+2
204,430+9
204,421+10
204,411+3
204,408+6
204,402+5
204,397—

Similar VS Code Marketplace Programming Languages plugins

All 20 REST API Client Code Generator for VS Code alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=ChristianResmaHelle.apiclientcodegen. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.