[PR #1259] [MERGED] feat:add code generator for C# RestSharp #3179

Closed
opened 2026-03-17 00:48:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1259
Author: @Ldoppea
Created: 10/10/2020
Status: Merged
Merged: 10/11/2020
Merged by: @liyasthomas

Base: masterHead: feature/codegen-csharp-restsharp


📝 Commits (1)

  • 168d1dc feat:add code generator for C# RestSharp

📊 Changes

3 files changed (+181 additions, -0 deletions)

View changed files

📝 helpers/codegen/__tests__/__snapshots__/codegen.spec.js.snap (+89 -0)
📝 helpers/codegen/codegen.js (+2 -0)
helpers/codegen/generators/cs-restsharp.js (+90 -0)

📄 Description

Hi,

This PR add the code generator for C# using RestSharp as mentioned in https://github.com/hoppscotch/hoppscotch/issues/1190

Here is a sample :
image
image
image

Result is :
image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/1259 **Author:** [@Ldoppea](https://github.com/Ldoppea) **Created:** 10/10/2020 **Status:** ✅ Merged **Merged:** 10/11/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `feature/codegen-csharp-restsharp` --- ### 📝 Commits (1) - [`168d1dc`](https://github.com/hoppscotch/hoppscotch/commit/168d1dc678c8054ed83092b1c58ecb5df0ff7263) feat:add code generator for C# RestSharp ### 📊 Changes **3 files changed** (+181 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `helpers/codegen/__tests__/__snapshots__/codegen.spec.js.snap` (+89 -0) 📝 `helpers/codegen/codegen.js` (+2 -0) ➕ `helpers/codegen/generators/cs-restsharp.js` (+90 -0) </details> ### 📄 Description Hi, This PR add the code generator for C# using RestSharp as mentioned in https://github.com/hoppscotch/hoppscotch/issues/1190 Here is a sample : ![image](https://user-images.githubusercontent.com/1884255/95666862-553fad80-0b5e-11eb-93ce-fdf9373dfcda.png) ![image](https://user-images.githubusercontent.com/1884255/95666898-d303b900-0b5e-11eb-95d9-678beb4761db.png) ![image](https://user-images.githubusercontent.com/1884255/95666888-bcf5f880-0b5e-11eb-8288-15076fb10859.png) Result is : ![image](https://user-images.githubusercontent.com/1884255/95666911-fdee0d00-0b5e-11eb-99d9-42d905b767cc.png) ![image](https://user-images.githubusercontent.com/1884255/95666854-43f6a100-0b5e-11eb-9c17-b1383c7be5cf.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:48:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3179
No description provided.