[PR #4697] [MERGED] feat: support rust reqwest code generation #4904

Closed
opened 2026-03-17 02:23:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4697
Author: @KShivendu
Created: 1/24/2025
Status: Merged
Merged: 2/6/2025
Merged by: @jamesgeorge007

Base: patchHead: rust-reqwest-code-gen


📝 Commits (2)

  • 48eb059 feat: support rust reqwest code generation
  • f39f645 chore: bump httpsnippet version

📊 Changes

3 files changed (+16 additions, -11 deletions)

View changed files

📝 packages/hoppscotch-common/package.json (+1 -1)
📝 packages/hoppscotch-common/src/helpers/new-codegen/index.ts (+6 -0)
📝 pnpm-lock.yaml (+9 -10)

📄 Description

What's changed

This PR adds Rust reqwest library code generation to Hoppscotch. All the heavy lifting is done by done library already. It had support for Rust reqwest but it's not mentioned in the docs. So I just had to add a config :)

Also have bumped the httpsnippet version to v3.0.7


🔄 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/4697 **Author:** [@KShivendu](https://github.com/KShivendu) **Created:** 1/24/2025 **Status:** ✅ Merged **Merged:** 2/6/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `rust-reqwest-code-gen` --- ### 📝 Commits (2) - [`48eb059`](https://github.com/hoppscotch/hoppscotch/commit/48eb059d563daec2407d7bd1fb1def3ae4bae509) feat: support rust reqwest code generation - [`f39f645`](https://github.com/hoppscotch/hoppscotch/commit/f39f645ebf4319f15936f1d6024e6fc08dee5131) chore: bump httpsnippet version ### 📊 Changes **3 files changed** (+16 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/package.json` (+1 -1) 📝 `packages/hoppscotch-common/src/helpers/new-codegen/index.ts` (+6 -0) 📝 `pnpm-lock.yaml` (+9 -10) </details> ### 📄 Description ### What's changed This PR adds Rust [reqwest](https://docs.rs/reqwest/latest/reqwest/) library code generation to Hoppscotch. All the heavy lifting is done by done library already. It had [support](https://github.com/Kong/httpsnippet/tree/master/src/targets/rust/reqwest) for Rust reqwest but it's not mentioned in the [docs](https://github.com/Kong/httpsnippet/wiki/Targets). So I just had to add a config :) Also have bumped the httpsnippet version to v3.0.7 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:23:52 +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#4904
No description provided.