Kong / Kong/httpsnippet

C# RestSharp is using deprecated syntax

Open
#312 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
242
PR merge metrics
No merged PRs in 30d

Description

The example generated for [this example](https://apiembed.com/) is currently broken for folks using versions >= v107 of RestSharp. I have also seen the RestSharp generator break similarly for every other example i have tried, both directly in httpsnippet, as well as embedded in platforms.

This is due to [breaking changes](https://restsharp.dev/v107/#restsharp-v107) released in that version.

Is anyone currently working on a fix for this? Would love to connect.

Cheers!
Jon

Contributor guide

Open the contributing guide

Research direction

Start with the generated C# RestSharp output from the linked APIEmbed example and compare it with the RestSharp v107 breaking changes. Reproduce the issue in httpsnippet and check the other examples mentioned in the report. Done means the RestSharp generator produces working snippets for RestSharp v107 and later.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.