Kong / Kong/httpsnippet

C# RestSharp is using deprecated syntax

Open
#312 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
242
PR merge metrics
No merged PRs in 30d

Description

The example generated for this example 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 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.